summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorBernhard Liebl <Bernhard.Liebl@gmx.org>2018-01-03 17:04:10 +0100
committerBernhard Liebl <Bernhard.Liebl@gmx.org>2018-01-03 17:23:09 +0100
commitc7c764220cf944d05c63374f9e9de8828d0144d9 (patch)
tree25622990212cefda338dcfc4ff100be78e196dde /main
parent2488aff93f93deda27c99cf4811986afeb973438 (diff)
Limit number of errors and messages sent by runner
Diffstat (limited to 'main')
-rw-r--r--main/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp
index ac68fe1296..86e72d8eb7 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -664,6 +664,8 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
GLOBAL_DEF("memory/limits/multithreaded_server/rid_pool_prealloc", 60);
GLOBAL_DEF("network/limits/debugger_stdout/max_chars_per_second", 2048);
+ GLOBAL_DEF("network/limits/debugger_stdout/max_messages_per_frame", 10);
+ GLOBAL_DEF("network/limits/debugger_stdout/max_errors_per_frame", 10);
if (debug_mode == "remote") {