Skip to content

Commit 44cad84

Browse files
committed
chore: expire notifications after 7 days
1 parent 9ae8400 commit 44cad84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ class ErrsoleSQLite extends EventEmitter {
662662

663663
this.deleteExpiredNotificationItemsRunning = true;
664664

665-
const DEFAULT_NOTIFICATIONS_TTL = 30 * 24 * 60 * 60 * 1000;
665+
const DEFAULT_NOTIFICATIONS_TTL = 7 * 24 * 60 * 60 * 1000;
666666

667667
try {
668668
let notificationsTTL = DEFAULT_NOTIFICATIONS_TTL;

0 commit comments

Comments
 (0)