mirror of
https://github.com/whitechi73/OpenShamrock.git
synced 2024-08-14 13:12:17 +08:00
Shamrock
: 输出心跳日志
This commit is contained in:
parent
34eccda233
commit
3f9613c43c
@ -120,6 +120,7 @@ internal abstract class WebSocketClientServlet(
|
||||
return@timer
|
||||
}
|
||||
val runtime = AppRuntimeFetcher.appRuntime
|
||||
LogCenter.log("WebSocketClient心跳: ${app.longAccountUin}", Level.DEBUG)
|
||||
send(
|
||||
GlobalJson.encodeToString(
|
||||
PushMetaEvent(
|
||||
|
@ -61,6 +61,7 @@ internal abstract class WebSocketTransmitServlet(
|
||||
timer("heartbeat", true, 0, heartbeatInterval) {
|
||||
val runtime = AppRuntimeFetcher.appRuntime
|
||||
val curUin = runtime.currentAccountUin
|
||||
LogCenter.log("WebSocket心跳: $curUin", Level.DEBUG)
|
||||
broadcastAnyEvent(
|
||||
PushMetaEvent(
|
||||
time = System.currentTimeMillis() / 1000,
|
||||
|
Loading…
x
Reference in New Issue
Block a user