Added memory limits for AsyncWorkers

This commit is contained in:
Dylan K. Taylor
2017-08-20 12:15:48 +01:00
parent 8475c63426
commit 17053389b0
4 changed files with 37 additions and 17 deletions

View File

@ -37,6 +37,11 @@ memory:
#This will stop the server when the limit is surpassed
main-hard-limit: 1024
#AsyncWorker threads' hard memory limit in megabytes. Set to 0 to disable
#This will stop the server if any worker exceeds this limit.
#NOTE: THIS LIMIT APPLIES PER WORKER, NOT TO THE WHOLE PROCESS.
async-worker-hard-limit: 1024
#Period in ticks to check memory (default 1 second)
check-rate: 20