debian-forge-composer/docs/news/31/worker-heartbeat.md
Thomas Lavocat b896ee4d8c 31
Release osbuild-composer 31
2021-08-11 14:04:41 +02:00

410 B

Workers: heartbeat

Workers check in with composer every 15 seconds to see if their job hasn't been cancelled. We can use this to introduce a heartbeat. If the worker fails to check in for over 2 minutes, composer assumes the worker crashed or was stopped, marking the job as failed.

This will mitigate the issue where jobs who had their worker crash or stopped, would remain in a 'building' state forever.