diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-01-07 12:38:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-07 12:38:08 +0100 |
commit | 42ee9541fdebf27bde9b0cab614587fe5fcb0c95 (patch) | |
tree | d7682707f16d0b8519a24c9a5007ad5ca814a2bf /main | |
parent | 29e68aa40e3effa1946b3889021b8c61a933c05c (diff) | |
parent | c7c764220cf944d05c63374f9e9de8828d0144d9 (diff) |
Merge pull request #15297 from poke1024/runner-limit-errs
Limit number of errors and messages sent by runner
Diffstat (limited to 'main')
-rw-r--r-- | main/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp index b51ea3211c..48537dc3a7 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -665,6 +665,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") { |