fix: whoopsies

This commit is contained in:
Skillz4Killz
2022-05-18 18:55:19 +00:00
committed by GitHub
parent 92b6f27491
commit f7e11d6ea6
-1
View File
@@ -47,7 +47,6 @@ export function spawnShards(gateway: GatewayManager, firstShardId = 0) {
// PREPARES ALL SHARDS IN SPECIFIC BUCKETS
prepareBuckets(gateway, firstShardId, gateway.lastShardId ? gateway.lastShardId : gateway.maxShards - 1);
console.log(gateway.buckets.first());
// SPREAD THIS OUT TO DIFFERENT WORKERS TO BEGIN STARTING UP
gateway.buckets.forEach(async (bucket, bucketId) => {
gateway.debug("GW DEBUG", `2. Running forEach loop in spawnShards function.`);