Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow poolboy to manage supervisors #115

Open
blatyo opened this issue Oct 21, 2018 · 0 comments
Open

Allow poolboy to manage supervisors #115

blatyo opened this issue Oct 21, 2018 · 0 comments

Comments

@blatyo
Copy link

blatyo commented Oct 21, 2018

I'm using a library that generates connections as supervisors because there's multiple processes to manage the connection. Technically, the connection is a child of the supervisor, but every function that expect a process to be passed to it, expects the supervisor. Thus, I'd like to manage a pool of supervisors instead of workers. The problem I ran into is that poolboy's child_spec function will only create workers. I've worked around this by defining my own child spec. However, this seems plausible as something others would want to do.

One question I have is, is this a horrible idea because of something inherent to the way poolboy works?

If it's not, I'd be happy to contribute this feature.

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

No branches or pull requests

1 participant