Return cached worker info immediately, update in the background
Workers already update their state when it changes, and this state
propagates through OBS proxies, so we can safely return it immediately
when requested by the warden, and schedule an update in the background.
This should mitigate timeouts when the warden prods OBS proxy server
prods OBS proxy client prods worker, and while the reply climbs back
through the interpipes, warden times out and kills the job.
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
parent
0ec12a54
Branches main
Tags apertis-v2024
Please register or sign in to comment