人脸比对

This commit is contained in:
2023-09-26 19:29:11 +08:00
parent a4dda571ab
commit 0b51d7c0b7
11 changed files with 1066 additions and 940 deletions

View File

@@ -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));