From 4448652470d1f42d46c15967ca4d9952909e0a98 Mon Sep 17 00:00:00 2001 From: Ruthenic Date: Sun, 12 Mar 2023 17:37:00 -0400 Subject: [PATCH] my poor server was getting hammered by the notification spam --- src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 49ae27b..07b43e9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -215,5 +215,6 @@ while (true) { "_responded_notifs.json", JSON.stringify(respondedNotificationIds), ); - await new Promise((res) => setTimeout(res, 5000)); + + await new Promise((res) => setTimeout(res, 30000)); }