mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-09-20 01:32:40 +00:00
TRA-3803 handle k8s watch timeouts (#372)
* Update watch.go and debounce.go * Update debounce.go * Update watch.go * Update watch.go * Update watch.go * Update watch.go * Update watch.go Co-authored-by: Rami <rami@rami-work>
This commit is contained in:
@@ -52,3 +52,7 @@ func (d *Debouncer) SetOn() error {
|
||||
d.timer = time.AfterFunc(d.timeout, d.callback)
|
||||
return nil
|
||||
}
|
||||
|
||||
func (d *Debouncer) IsOn() bool {
|
||||
return d.running
|
||||
}
|
||||
|
Reference in New Issue
Block a user