Expand description
The worker’s log endpoint as both sides see it (the worker serves it, the webserver reads it; see archive/PROJECT.md, Task logs).
Constants§
- LOG_
SIZE_ HEADER - The header with the log’s size in bytes when it was read.
- MASK_
CONTEXT - How many bytes before a part of a log the webserver reads too, masking them with the part and not showing them: a value begun there (a quoted one going on over lines) is hidden in the part too (decision 131).
- MAX_
CHUNK - The most bytes one request returns (and the default).
- MAX_
READ - The most bytes a worker’s log endpoint returns at once: a part and the bytes before it.
- MIN_
CHUNK - The fewest bytes one request returns when asked for less: one UTF-8 character, so a part always moves a reader on.
- RUNNING_
HEADER - The header saying whether the attempt still runs on the worker (
true/false). - WORKER_
ID_ HEADER - The header naming the worker that answered.