mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-23 21:52:45 -05:00
bye
This commit is contained in:
1 parent
35aab94a53
commit
3ef54117bb
27 files changed
+5
-156
No files matched your search
@@ -99,8 +99,6 @@ const respawn = shardingCfg.respawn !== false;
|
||||
const spawnTimeout = cfgPositiveInt(shardingCfg, "spawnTimeout", 30_000);
|
||||
const spawnDelay = Math.max(0, Number(shardingCfg.spawnDelay) >= 0 ? Number(shardingCfg.spawnDelay) : 5_000);
|
||||
|
||||
// Absolute path to the bot entry — robust regardless of cwd (fork resolves
|
||||
// relative paths against cwd, but the manager may be started from anywhere).
|
||||
const entryFile = fileURLToPath(new URL("./index.mjs", import.meta.url));
|
||||
|
||||
const manager = new ShardingManager(entryFile, {
|
||||
|
||||
Reference in new issue
Block a user