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. |
||
|---|---|---|
| .. | ||
| api | ||
| client.go | ||
| json.go | ||
| server.go | ||
| server_test.go | ||