Skip to content

Commit e037257

Browse files
committed
disable sharding for now
1 parent 7f4c0e5 commit e037257

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/config.template.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default {
99
vote_webhook_secret: "",
1010
wolfram_appid: "",
1111
bot_owner_ids: [],
12-
total_shards: /** @type {number | "auto" | undefined} */ ("auto"),
12+
total_shards: /** @type {number | "auto" | undefined} */ (1),
1313
},
1414
http: {
1515
port: 1335,

src/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ EventEmitter.defaultMaxListeners = 20;
1515

1616
const manager = new ClusterManager("./src/bot.js", {
1717
totalShards: config.discord.total_shards,
18-
shardsPerClusters: 2,
18+
shardsPerClusters: 1,
1919
token: config.discord.bot_token,
2020
});
2121

0 commit comments

Comments
 (0)