mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -05:00
...
This commit is contained in:
1 parent
b068e3e95c
commit
5b4d1b0aa3
7 files changed
+22
-10
No files matched your search
@@ -37,6 +37,9 @@
|
||||
* its children — never export them manually.
|
||||
*/
|
||||
|
||||
import dns from "node:dns";
|
||||
dns.setDefaultResultOrder("ipv4first");
|
||||
|
||||
import * as fs from "node:fs";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import { ShardingManager } from "@fluxerjs/sharding";
|
||||
@@ -108,7 +111,7 @@ const manager = new ShardingManager(entryFile, {
|
||||
respawn,
|
||||
spawnTimeout,
|
||||
spawnDelay,
|
||||
execArgv: ["--tls-max-v1.2"],
|
||||
execArgv: ["--dns-result-order=ipv4first", "--tls-max-v1.2"],
|
||||
});
|
||||
|
||||
manager.on("shardCreate", (shard) => {
|
||||
|
||||
Reference in new issue
Block a user