Commit 8664117b authored by Alfredo Di Napoli's avatar Alfredo Di Napoli

Move threadDelay for gcThread at the beginning

This commit moves the `threadDelay` present in the `gcThread` function
at the beginning of the `go` aux rather than at the end. This has the
effect that the first GC happens _after_ the delay time and not
immediately, which might make some tests unpredictable if we get unlucky
and some job ids are removed from the underlying map before we can
inspect their state.
parent 3d3e0122
Pipeline #4400 passed with stage
in 28 seconds