skip to content
==> README.md <==
1# @ajax/mesh-jobd-text
2
3The jobs control answers, read from this member's committed table, and on the leader also its
4leases, rates and lease choices:
5
6- `jobs`: this member's role in the job table, and one line per job (state, items done, failed,
7  leased, queued, dupes, rate);
8- `job status <id>`: its line, its spec, who ran how many, its leases, the lease choice per member,
9  the cancel reason, the first 50 items failed;
10- `job results <id> [from] [n]`: the results (item, result, lease, member, bytes, payload
11  reference).
12
13## Ported from
14
15[alpha-rust-mesh](https://github.com/rsafier/alpha-rust-mesh) (Richard Safier, MIT):
16`crates/mesh-host/src/jobd.rs`: `jobs_text`, `job_line`, `status_text`, `results_text`.
17
18## Tests
19
20`tests/text.c`: a single meshd's node runs a job, and every answer's lines are checked: the header,
21job lines (running and done), status (spec, members, picks, failures), and results paged.
22
23## Licence
24
25MIT. See the repository's LICENSE.