mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-26 17:49:15 +01:00
refactor: optimize connection health checks to reduce log stream interference; adjust health check intervals and implement non-blocking pings
This commit is contained in:
@@ -157,6 +157,9 @@ func (r *Runner) handleIPCInsertDataMessage(ipcMsg entity.IPCMessage) {
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// Update last successful connection time to help health check avoid unnecessary pings
|
||||
r.lastConnCheck = time.Now()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user