update: heartbeat config

This commit is contained in:
Wesley F. Young 2024-09-05 22:27:05 +08:00
parent 6fe43b6835
commit 256711024d

View File

@ -17,12 +17,12 @@ export class LaanaWsServerAdapter implements ILaanaNetworkAdapter {
constructor(
public ip: string,
public port: number,
public enableHeartbeat: boolean,
public heartbeatInterval: number,
public token: string,
public core: NapCatCore,
public laana: NapCatLaanaAdapter,
) {
this.heartbeatInterval = heartbeatInterval;
this.wsServer = new WebSocketServer({
port: port,
host: ip,