Commit Graph

9 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 d7bcf85c1b Hopefully fix some background task issues 2014-03-09 22:36:39 -05:00
calzoneman 0603a02d2e Finish password recovery 2014-02-01 13:03:08 -06:00
calzoneman 4a2366eb06 Switch config to YAML 2014-01-22 17:11:26 -06:00
calzoneman 22c4e8f9ff Fix more things 2014-01-07 22:47:00 -06:00
calzoneman 2e77cb4499 Change channel dumping to a single interval rather than per-channel 2013-10-14 16:39:41 -05:00
calzoneman 9193423923 Rate-limit socket.io connections per IP 2013-10-14 16:32:03 -05:00
calzoneman ba66aadf66 Move interval stuff to config keys 2013-09-26 23:41:38 -05:00
calzoneman 6bf11a57b3 Generalize background tasks, rework aliases a bit 2013-09-26 23:36:00 -05:00