summaryrefslogtreecommitdiff
path: root/server.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-07-13 22:40:47 +0200
committerTor Andersson <tor@ccxvii.net>2021-07-13 22:40:47 +0200
commit61d7cd7f72b53bb7f964c306797569d248797049 (patch)
tree337d4cb1767246c8500acb9073c275da033a1c53 /server.js
parentcc5c698c3a26af8efb3e01cddecc0e5078b43b4f (diff)
downloadserver-61d7cd7f72b53bb7f964c306797569d248797049.tar.gz
Poll for reminders more seldom.
Diffstat (limited to 'server.js')
-rw-r--r--server.js6
1 files 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