|
|
@ -35,8 +35,11 @@ Commands from _execution thread_ to _listening thread_:
|
|
|
|
|
|
|
|
|
|
|
|
- **done** - notifying of finished job. Requires 2 message frames:
|
|
|
|
- **done** - notifying of finished job. Requires 2 message frames:
|
|
|
|
- `job_id` - identifier of finished job
|
|
|
|
- `job_id` - identifier of finished job
|
|
|
|
- `result` - response result, one of "OK" and "FAILED"
|
|
|
|
- `result` - response result, possible values below
|
|
|
|
- `message` - non-empty error description if result was "FAILED"
|
|
|
|
- OK - everything ok
|
|
|
|
|
|
|
|
- FAILED - execution failed and cannot be reassigned to another worker (due to error in configuration for example)
|
|
|
|
|
|
|
|
- INTERNAL_ERROR - execution failed due to internal worker error, but other worker possibly can execute this without error
|
|
|
|
|
|
|
|
- `message` - non-empty error description if result was not "OK"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Progress callback
|
|
|
|
### Progress callback
|
|
|
|