mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
Add logging to debug conflicts in kubemark-scale test
This commit is contained in:
parent
7043372d05
commit
1504c7fc31
@ -639,6 +639,11 @@ func forgetWatcher(c *Cacher, index int, triggerValue string, triggerSupported b
|
|||||||
if lock {
|
if lock {
|
||||||
c.Lock()
|
c.Lock()
|
||||||
defer c.Unlock()
|
defer c.Unlock()
|
||||||
|
} else {
|
||||||
|
// false is currently passed only if we are forcing watcher to close due
|
||||||
|
// to its unresponsiveness and blocking other watchers.
|
||||||
|
// TODO: Get this information in cleaner way.
|
||||||
|
glog.V(1).Infof("Forcing watcher close due to unresponsiveness: %v", c.objectType.String())
|
||||||
}
|
}
|
||||||
// It's possible that the watcher is already not in the structure (e.g. in case of
|
// It's possible that the watcher is already not in the structure (e.g. in case of
|
||||||
// simulaneous Stop() and terminateAllWatchers(), but it doesn't break anything.
|
// simulaneous Stop() and terminateAllWatchers(), but it doesn't break anything.
|
||||||
|
@ -23,7 +23,7 @@ import (
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
refreshPerSecond = 50 * time.Millisecond
|
refreshPerSecond = 50 * time.Millisecond
|
||||||
maxBudget = 250 * time.Millisecond
|
maxBudget = 100 * time.Millisecond
|
||||||
)
|
)
|
||||||
|
|
||||||
// timeBudget implements a budget of time that you can use and is
|
// timeBudget implements a budget of time that you can use and is
|
||||||
|
Loading…
Reference in New Issue
Block a user