Node.js based forum software built for the modern web
Prevent breaking eventLoopLagThreshold value
Ole R6d35690cbb25
diff --git a/src/views/admin/settings/advanced.tpl b/src/views/admin/settings/advanced.tplindex a1a01e93cd..3fd617cf83 100644--- a/src/views/admin/settings/advanced.tpl+++ b/src/views/admin/settings/advanced.tpl@@ -85,7 +85,7 @@</div><div class="form-group"><label for="eventLoopLagThreshold">Event Loop Lag Threshold (in milliseconds)</label>- <input class="form-control" id="eventLoopLagThreshold" type="number" data-field="eventLoopLagThreshold" placeholder="Default: 70" step="10" value="70" />+ <input class="form-control" id="eventLoopLagThreshold" type="number" data-field="eventLoopLagThreshold" placeholder="Default: 70" step="10" min="10" value="70" /><p class="help-block">Lowering this value decreases wait times for page loads, but will also show the"excessive load" message to more users. (Reload required)@@ -103,4 +103,4 @@</div></div>-<!-- IMPORT admin/settings/footer.tpl -->\ No newline at end of file+<!-- IMPORT admin/settings/footer.tpl -->