From a164beb3a196f14b6d7ff533a135e032a2d17e68 Mon Sep 17 00:00:00 2001 From: hippoz <10706925-hippoz@users.noreply.gitlab.com> Date: Wed, 2 Feb 2022 20:25:09 +0200 Subject: [PATCH] increase event polling time --- routes/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/api.js b/routes/api.js index 80d4456..aa5a493 100644 --- a/routes/api.js +++ b/routes/api.js @@ -119,7 +119,7 @@ router.get("/guilds/:guildId/events/poll", checkAuth(async (req, res) => { const guild = guildMap.get(guildId); try { - guild.holdForEvent(10000) + guild.holdForEvent(15000) .then(result => res.status(200).send({ error: false, event: result })); } catch(e) { console.error("server main: api: guild poll events: error: ", e);