garm/runner/pool
Gabriel Adrian Samfira b23bca73bc Fix sleepWithCancel and ensure closed channel
* time.NewTicker will panic if the duration is 0. Make it return
early if duration is 0.
* Return a pre-closed channel in Wait() instead of nil. Ensures receiver
will not block forever.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-07-07 04:54:10 +00:00
..
common.go Update dependencies 2025-06-17 21:09:05 +00:00
pool.go Fix sleepWithCancel and ensure closed channel 2025-07-07 04:54:10 +00:00
stub_client.go Update dependencies 2025-06-17 21:09:05 +00:00
util.go Update dependencies 2025-06-17 21:09:05 +00:00
util_test.go Add copyright header 2025-05-20 09:43:29 +00:00
watcher.go Add copyright header 2025-05-20 09:43:29 +00:00