An occupied worker checks about every 15 seconds if it's current job was cancelled. Use this to introduce a heartbeat mechanism, where if composer hasn't heard from the worker in 2 minutes, the job times out and is set to fail. |
||
|---|---|---|
| .. | ||
| fsjobqueue | ||
| jobqueue.go | ||