increase event polling time

This commit is contained in:
hippoz 2022-02-02 20:25:09 +02:00
parent d133803fa1
commit a164beb3a1
Signed by: hippoz
GPG key ID: 7C52899193467641

View file

@ -119,7 +119,7 @@ router.get("/guilds/:guildId/events/poll", checkAuth(async (req, res) => {
const guild = guildMap.get(guildId); const guild = guildMap.get(guildId);
try { try {
guild.holdForEvent(10000) guild.holdForEvent(15000)
.then(result => res.status(200).send({ error: false, event: result })); .then(result => res.status(200).send({ error: false, event: result }));
} catch(e) { } catch(e) {
console.error("server main: api: guild poll events: error: ", e); console.error("server main: api: guild poll events: error: ", e);