Files
habitica/website/server/middlewares
Zobdek addee73e4d Set _cronSignature to current time instead of uuid (#8565)
* Changes made to satisfy #8163. _cronSignature is set to current time when cron starts so that if cron fails to set _cronSignature to 'NOT_RUNNING' for any reason a new cron can be started after a set amount of time (1 hour for now)

* fix lint errors

* changed cronTimeout to CRON_TIMEOUT

* Changed variable names and comments to be more clear

* Fixed stub for failing test so that it matches new mongo db update call signature

* First pass at unit tests, error messages and some other things need to be determined

* Fixed a tab that snuck in :/

* Fixed lint issues (issues with spaces)

* Fix infix operator spacing

* Created constant. Make sure cron failure test verifies that it is failing for the right reason

* Fixed lint errors

* Removed no longer used uuid import
2017-10-25 15:29:16 -05:00
..
2017-08-22 18:26:53 +02:00
2016-09-16 17:18:07 +02:00
2017-03-23 10:25:58 -05:00
2017-10-12 16:44:28 +02:00
2016-12-20 22:31:36 +01:00
2016-12-20 22:31:36 +01:00
2016-12-20 22:31:36 +01:00