Commit Graph

6 Commits

Author SHA1 Message Date
calzoneman 04dbb3444b Fix a few memory leaks; add /gc console command
3 memory leaks were fixed
  - ipThrottle (due to the periodic cleaner clearing the wrong object...)
  - ipCount (shouldn't have leaked very much, but removing obsolete data is good practice)
  - lastguestlogin (again, shouldn't leak much, but should be cleared periodically anyways)
A new console command (i.e. from the terminal running node) was added: /gc
  - If the process is invoked as node --expose-gc index.js, /gc allows you to manually invoke the garbage collector
2014-04-10 21:54:46 -05:00
Calvin Montgomery 4e2c6d486b Add /reload console command, change some internal config 2014-02-26 14:28:24 -06:00
calzoneman 4a2366eb06 Switch config to YAML 2014-01-22 17:11:26 -06:00
calzoneman 521c786cdc Start the long process of making it work again 2014-01-05 19:42:09 -06:00
calzoneman f2c996ebfa major refactoring 2013-10-11 16:31:40 -05:00
calzoneman 542461a533 Refactor out server init to index.js 2013-10-11 15:48:01 -05:00