two weeks should be long enough, rather than 1mo.

This commit is contained in:
Tyler Renelle 2013-01-28 15:58:48 -05:00
parent 912c0860fe
commit c625458ce3

View file

@ -36,6 +36,6 @@ module.exports.deleteStaleAccounts = ->
removeAccount(collection, user._id)
return
diff = Math.abs(moment(today).sod().diff(moment(lastCron).sod(), "days"))
if diff > 30
if diff > 15
removeAccount(collection, user._id)
return