]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
daemon: more aggressive Lua GC, forced GC steps
authorMarek Vavruša <marek.vavrusa@nic.cz>
Sat, 1 Aug 2015 17:51:13 +0000 (19:51 +0200)
committerMarek Vavruša <marek.vavrusa@nic.cz>
Sat, 1 Aug 2015 17:52:47 +0000 (19:52 +0200)
commit5a7094112c12da6350397b313e8c4b07328e4e01
tree6e27471e90914915ebb77225e50311e7aa95ca8c
parentc0bf727a999bd92255a0bd8abd382a531ab01310
daemon: more aggressive Lua GC, forced GC steps

the memory could go through the roof with sufficiently high pps, GC now runs at 4x the speed of allocations and doesn’t wait for increase, some callbacks also perform full collection cycle on completion
daemon/bindings.c
daemon/engine.c
daemon/ffimodule.c
daemon/worker.c