From d79c29acfdebb2ff9a6a977ce21a46b50557dbdc Mon Sep 17 00:00:00 2001 From: Erik Date: Sun, 12 Apr 2020 15:34:46 +0300 Subject: [PATCH] extended timeout --- middleware/Shard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleware/Shard.js b/middleware/Shard.js index 8d15162..13de173 100644 --- a/middleware/Shard.js +++ b/middleware/Shard.js @@ -63,7 +63,7 @@ class Shard extends EventEmitter { this.once('ready', resolve); this.once('disconnect', () => reject(new Error(`[shard${this.id}] Shard disconnected while readying.`))); this.once('death', () => reject(new Error(`[shard${this.id}] Shard died while readying.`))); - setTimeout(() => reject(new Error(`[shard${this.id}] Shard timed out while readying.`)), 10000); + setTimeout(() => reject(new Error(`[shard${this.id}] Shard timed out while readying.`)), 30000); }); return this.process || this.worker;