Merge pull request #25 from jhalitaksoy/fix/ws-ping-time
set PING_INTERVAL 15000
This commit is contained in:
commit
83a41dec94
@ -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>;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user