diff options
Diffstat (limited to 'src/tasks/handleReminders.ts')
-rw-r--r-- | src/tasks/handleReminders.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tasks/handleReminders.ts b/src/tasks/handleReminders.ts index 935a08c..d1af480 100644 --- a/src/tasks/handleReminders.ts +++ b/src/tasks/handleReminders.ts @@ -13,7 +13,7 @@ export default class HandlerRemindersTask extends BushTask { const expiredEntries = await Reminder.findAll({ where: { expires: { - [Op.lt]: new Date(Date.now() + 30_000) // Find all rows with an expiry date before 10 seconds from now + [Op.lt]: new Date(Date.now() + 30_000) // Find all rows with an expiry date before 30 seconds from now }, notified: false } |