Expand description
The loop both credit registration workers run.
The processes differ only in which phases they own and how often they look, so the scheduling lives here instead of in each of them.
Functionsยง
- run
- Runs the phases
processowns until SIGTERM or Ctrl-C. Each phase loops on its own, so an hour-long call in one does not hold up the others. On shutdown no phase starts another iteration, and the function returns once the iterations already running have finished.