db2347a86c
This PR replaces use of time.After with a safe helper function that creates a time.Timer to use instead. The new function returns both a time.Timer and a Stop function that the caller must handle. Unlike time.NewTimer, the helper function does not panic if the duration set is <= 0. |
||
---|---|---|
.. | ||
drain_heap.go | ||
drain_heap_test.go | ||
drain_testing.go | ||
drainer.go | ||
drainer_util.go | ||
drainer_util_test.go | ||
draining_node.go | ||
draining_node_test.go | ||
watch_jobs.go | ||
watch_jobs_test.go | ||
watch_nodes.go | ||
watch_nodes_test.go |