|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Classes | |
| class | Cancelled |
| class | WorkerPool |
Functions | |
| None | _init_worker (List[Tuple[Any, Any]] cards) |
| int | default_workers (int tasks, Optional[int] cap=None) |
Variables | |
| float | POLL_S = 0.5 |
The worker pool every multi-burn Layer X job uses: the optimiser, the trade study and the sweep. Each job used to build its own ``ProcessPoolExecutor`` with its own copy of the setup, the card seeding and the shutdown, and two of the three waited for a burn to finish (one to two minutes flown) before noticing a cancel. One pool here: spawned workers seeded with the parent's engine cards, a map that wakes every half second to look for a cancel, and a shutdown that terminates the workers on one.
|
protected |
| int engine.layerx.pool.default_workers | ( | int | tasks, |
| Optional[int] | cap = None ) |