mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 06:03:04 -04:00
no shard
This commit is contained in:
parent
41317a0e87
commit
3be267bba7
1 changed files with 2 additions and 2 deletions
4
index.js
4
index.js
|
@ -7,8 +7,8 @@ const token = process.env.token;
|
||||||
let client = `../${__dirname}/labscore/client.js`
|
let client = `../${__dirname}/labscore/client.js`
|
||||||
if(process.env.environment == "local") client = `./labscore/client.js`
|
if(process.env.environment == "local") client = `./labscore/client.js`
|
||||||
const manager = new ClusterManager(client, token, {
|
const manager = new ClusterManager(client, token, {
|
||||||
shardCount: 2,
|
shardCount: 1,
|
||||||
shardsPerCluster: 2,
|
shardsPerCluster: 1,
|
||||||
});
|
});
|
||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue