From 61d7cd7f72b53bb7f964c306797569d248797049 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 13 Jul 2021 22:40:47 +0200 Subject: Poll for reminders more seldom. --- server.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server.js b/server.js index 6c63ae6..83ec904 100644 --- a/server.js +++ b/server.js @@ -1097,11 +1097,11 @@ function notify_ready_to_start_reminder() { } } -// Check and send 'your turn' reminders every 15 minutes. +// Check and send daily 'your turn' reminders every 15 minutes. setInterval(notify_your_turn_reminder, 15 * 60 * 1000); -// Check and send ready to start notifications every minute. -setInterval(notify_ready_to_start_reminder, 60 * 1000); +// Check and send ready to start notifications every 5 minutes. +setInterval(notify_ready_to_start_reminder, 5 * 60 * 1000); /* * GAME PLAYING -- cgit v1.2.3