set PING_INTERVAL 15000

This commit is contained in:
Halit Aksoy 2022-07-17 22:22:12 +03:00
parent ad660c0669
commit 51f5a84ba6

View File

@ -3,7 +3,7 @@ import { Bytes, OnMessage, RTMT } from "./rtmt";
import { server } from "../service/http_service"; import { server } from "../service/http_service";
import { channel_ping, channel_pong } from "../const/channel_names"; import { channel_ping, channel_pong } from "../const/channel_names";
const PING_INTERVAL = 3000, PING_INTERVAL_BUFFER_TIME = 500; const PING_INTERVAL = 15000, PING_INTERVAL_BUFFER_TIME = 1000;
export class RTMTWS implements RTMT { export class RTMTWS implements RTMT {
private messageChannels: Map<String, OnMessage>; private messageChannels: Map<String, OnMessage>;