mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
update: heartbeat config
This commit is contained in:
parent
6fe43b6835
commit
256711024d
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user