mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
refactor recovering from cron
This commit is contained in:
@@ -345,7 +345,7 @@ export let schema = new Schema({
|
||||
},
|
||||
|
||||
lastCron: {type: Date, default: Date.now},
|
||||
_cronSignature: String, // Private property to avoid double cron
|
||||
_cronSignature: {type: String, default: 'NOT_RUNNING'}, // Private property used to avoid double cron
|
||||
|
||||
// {GROUP_ID: Boolean}, represents whether they have unseen chat messages
|
||||
newMessages: {type: Schema.Types.Mixed, default: () => {
|
||||
|
||||
Reference in New Issue
Block a user