Adjust stream allocator ping interval based on state. (#3951)

* Adjust stream allocator ping interval based on state.

In steady state, does a 15 second ping.
While deficient, to be able to react to probes faster, it pings at 100ms
interval.

* clean up

* log ops queue not able to wake up
This commit is contained in:
Raja Subramanian
2025-09-24 14:45:57 +05:30
committed by GitHub
parent 3837006b39
commit bfba6feed4
3 changed files with 36 additions and 27 deletions
+1
View File
@@ -128,6 +128,7 @@ func (oq *opsQueueBase[T]) Enqueue(op T) {
select {
case oq.wake <- struct{}{}:
default:
oq.params.Logger.Infow("could not wake ops queue", "name", oq.params.Name)
}
}
}