|
|
@@ -107,8 +107,8 @@ export class MTP2WebSocket<T extends Package40 | Package50> {
|
|
|
private reconnectTimer = 0;
|
|
|
/** 超时定时器 */
|
|
|
private timeoutTimer = 0;
|
|
|
- /** 心跳间隔时间,默认为10秒 */
|
|
|
- private beatInterval = 10 * 1000;
|
|
|
+ /** 心跳间隔时间,默认为30秒 */
|
|
|
+ private beatInterval = 30 * 1000;
|
|
|
/** 心跳回复超时时间,默认为15秒 */
|
|
|
private beatTimeoutInterval = 15 * 1000;
|
|
|
|