increase event polling time
This commit is contained in:
parent
d133803fa1
commit
a164beb3a1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue