diff --git a/src/gateway/index.ts b/src/gateway/index.ts index 4dbdb64..112eeaa 100644 --- a/src/gateway/index.ts +++ b/src/gateway/index.ts @@ -7,8 +7,8 @@ import { gatewayErrors } from "../errors"; import { GatewayPayload } from "../types/gatewaypayload"; import { GatewayPayloadType } from "./gatewaypayloadtype"; -const GATEWAY_BATCH_INTERVAL = 25000 || process.env.GATEWAY_BATCH_INTERVAL; -const GATEWAY_PING_INTERVAL = 20000 || process.env.GATEWAY_PING_INTERVAL; +const GATEWAY_BATCH_INTERVAL = 50000; +const GATEWAY_PING_INTERVAL = 40000; // mapping between a dispatch id and a websocket client const dispatchChannels = new Map>();