diff options
author | Matthew Wild <mwild1@gmail.com> | 2021-05-07 16:41:39 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2021-05-07 16:41:39 +0100 |
commit | 4c7989e7e4c95ccfbdc189abc5bdea9aa9e90b02 (patch) | |
tree | 57ba00ca8b437d18be2d5f3c1b656ed280c96934 /net/server.lua | |
parent | e9b383cdb22cbf667fc16d55351ff1d71d0e6d9f (diff) | |
download | prosody-4c7989e7e4c95ccfbdc189abc5bdea9aa9e90b02.tar.gz prosody-4c7989e7e4c95ccfbdc189abc5bdea9aa9e90b02.zip |
util.startup: Set more aggressive defaults for GC
Testing has demonstrated that the default GC parameters are not
sufficient to prevent runaway memory growth when running under Lua 5.2
and Lua 5.3.
Setting the GC speed to 500 was tested on Lua versions 5.1->5.4 and did
not display unbounded memory growth.
Diffstat (limited to 'net/server.lua')
0 files changed, 0 insertions, 0 deletions