Files
nomad/client
Tim Gross b32722a6a6 CSI: enforce one plugin supervisor loop via sync.Once (#12785)
We enforce exactly one plugin supervisor loop by checking whether
`running` is set and returning early. This works but is fairly
subtle. It can briefly result in two goroutines where one quickly
exits before doing any work. Clarify the intent by using
`sync.Once`. The goroutine we've spawned only exits when the entire
task runner is being torn down, and not when the task driver restarts
the workload, so it should never be re-run.
2022-04-26 10:38:50 -04:00
..
2022-04-19 10:37:46 -05:00
2022-04-05 15:21:28 -05:00
2022-04-22 09:14:29 -05:00
2022-04-22 09:14:29 -05:00
2021-10-01 10:14:28 -04:00
2022-04-11 19:37:14 +02:00