mirror of
https://github.com/livekit/livekit.git
synced 2026-10-24 08:33:17 +00:00
include packet and system info with node stats (#92)
* include packet and system info with node stats * add more packet and system stats * revert magefile, clean up system stats error handling * update procol version * dz review: error return
This commit is contained in:
1 parent
f5466c74e6
commit
f9590afe1a
7 files changed
+133
-28
No files matched your search
@@ -309,7 +309,9 @@ func (r *RedisRouter) statsWorker() {
|
||||
// update periodically seconds
|
||||
select {
|
||||
case <-time.After(statsUpdateInterval):
|
||||
stats.UpdateCurrentNodeStats(r.currentNode.Stats)
|
||||
if err := stats.UpdateCurrentNodeStats(r.currentNode.Stats); err != nil {
|
||||
logger.Errorw("could not update node stats", err, "nodeID", r.currentNode.Id)
|
||||
}
|
||||
if err := r.RegisterNode(); err != nil {
|
||||
logger.Errorw("could not update node", err, "nodeID", r.currentNode.Id)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user