PearsonEducation/thalassa-crowsnest — pull request #3 by RBeaudoin (2014-03-08 00:05:59+00:00)
Title: Bug fix for stats not getting trimmed in the DB for Crowsnest

Looks like the 'timeToExpire' was set only once when Crowsnest started up, but never updated on the 'data' event on line 62. The resulting comparison on line 66 will never evaluate to true, and the data will never be trimmed. This results in CPU spikes and disk issues as the size of the data continues to grow.