diff --git a/options.json b/options.json index 057aefc..c4465d8 100644 --- a/options.json +++ b/options.json @@ -3,6 +3,7 @@ "shardOptions": { "respawn": false }, + "shardCount": 1, "serverOptions": { "serveFiles": "./files", "callbackURL": "/api/login", diff --git a/src/util/Util.js b/src/util/Util.js index 656df78..bc3c71b 100644 --- a/src/util/Util.js +++ b/src/util/Util.js @@ -11,9 +11,9 @@ class Util { return Math.floor(Date.now() / 1000); } - static wait (time) { + static wait (timeMs) { return new Promise((resolve) => { - setTimeout(resolve, time); + setTimeout(resolve, timeMs); }); }