人脸比对
This commit is contained in:
@@ -296,7 +296,6 @@ export class ImClient {
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 2、心跳
|
||||
private heartbeatLoop(conn) {
|
||||
let start = Date.now()
|
||||
@@ -306,7 +305,7 @@ export class ImClient {
|
||||
return
|
||||
}
|
||||
if (Date.now() - start >= heartbeatInterval) {
|
||||
log.info(`>>> send ping ;`)
|
||||
// log.info(`>>> send ping ;`)
|
||||
start = Date.now()
|
||||
let pingPack = imClient.buildMessagePack(SystemCommand.PING, {});
|
||||
conn.send(pingPack.pack(false));
|
||||
|
||||
Reference in New Issue
Block a user