Skip to content

Conversation

rosa
Copy link
Member

@rosa rosa commented Dec 15, 2023

This tries to make a bit clearer how these interact with each other and make concerns a little bit more self-contained without mixing things that have nothing to do with each other. It also improves naming across the board. No functionality is changed.

rosa added 14 commits December 13, 2023 18:56
It's used from there and over a relation. It makes more sense there.
With all the common stuff from workers, dispatchers and supervisor, and
with a better structure: boot -> loop -> shutdown, with callbacks that run
around boot and shutdown, but not around `run`, which happens inside start,
and it was very hard to follow.
But keep its own #start method, since we want to handle the termination
signals there. Also, improve some naming while I'm there.
I'll change Supervisor's mode later, because it's not the same as
running mode, and it's confusing.
And set the mode explicitly, not in #start
Also, remove the idle threads value from metadata, because it's useless.
@rosa rosa marked this pull request as ready for review December 15, 2023 12:08
@rosa rosa merged commit ec267bb into main Dec 15, 2023
@rosa rosa deleted the refactor-processes branch December 15, 2023 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant