Improved healthcheck, idlewatcher support for loadbalanced routes, bug fixes

This commit is contained in:
yusing
2024-10-15 15:34:27 +08:00
parent 53fa28ae77
commit f4d532598c
34 changed files with 568 additions and 423 deletions

View File

@@ -212,9 +212,9 @@ func GlobalContextWait(timeout time.Duration) {
case <-done:
return
case <-after:
logrus.Println("Timeout waiting for these tasks to finish:")
logrus.Warnln("Timeout waiting for these tasks to finish:")
tasksMap.Range(func(t *task, _ struct{}) bool {
logrus.Println(t.tree())
logrus.Warnln(t.tree())
return true
})
return