Because we are already inside a Fetch call, the fetchMutex is locked -- so, currently, whenever the control request interval updates we deadlock forever and launcher will not make a request to the control server until it is restarted.
This PR removes the possibility for deadlock during the extra Fetch call. I also made a couple small adjustments to prevent data races in the new test.
Because we are already inside a
Fetch
call, thefetchMutex
is locked -- so, currently, whenever the control request interval updates we deadlock forever and launcher will not make a request to the control server until it is restarted.This PR removes the possibility for deadlock during the extra
Fetch
call. I also made a couple small adjustments to prevent data races in the new test.