garm/workers
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
..
cache Fix sleepWithCancel and ensure closed channel 2025-07-07 04:54:10 +00:00
common Add copyright header 2025-05-20 09:43:29 +00:00
entity Some cleanup 2025-06-21 17:31:26 +00:00
provider Add copyright header 2025-05-20 09:43:29 +00:00
scaleset Fix sleepWithCancel and ensure closed channel 2025-07-07 04:54:10 +00:00