Files
nomad/command
Seth Hoenig c1e033c8c6 cleanup: prevent leaks from time.After
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.
2022-02-02 14:32:26 -06:00
..
2020-12-09 11:05:18 -08:00
2020-12-09 11:05:18 -08:00
2020-12-09 11:05:18 -08:00
2021-10-01 10:14:28 -04:00
2021-10-01 10:14:28 -04:00
2021-10-01 10:14:28 -04:00
2017-07-20 21:24:21 -07:00
2021-12-15 11:58:38 -05:00
2020-10-21 14:05:46 -04:00
2020-10-21 14:05:46 -04:00
2020-10-21 14:05:46 -04:00
2022-01-19 12:33:05 -06:00
2021-10-01 10:14:28 -04:00
2021-10-01 10:14:28 -04:00
2021-10-01 10:14:28 -04:00
2021-10-01 10:14:28 -04:00
2021-10-01 10:14:28 -04:00
2020-12-09 11:05:18 -08:00
2021-05-07 13:58:40 -04:00
2020-11-30 11:12:06 -05:00
2020-12-09 11:05:18 -08:00
2017-07-20 21:24:21 -07:00
2017-07-20 21:24:21 -07:00
2021-10-01 10:14:28 -04:00
2021-10-01 10:14:28 -04:00
2021-10-01 10:14:28 -04:00
2021-10-01 10:14:28 -04:00
2017-09-19 10:08:23 -05:00
2017-09-19 10:08:23 -05:00
2017-09-19 10:08:23 -05:00
2017-09-19 10:08:23 -05:00
2017-07-20 21:24:21 -07:00
2017-07-20 21:24:21 -07:00
2021-10-22 15:43:55 -04:00
2017-07-20 21:24:21 -07:00
2021-04-01 11:16:52 -04:00
2021-03-31 16:37:09 -04:00