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

workers with dynamic arguments #86

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

zgbjgg
Copy link

@zgbjgg zgbjgg commented May 12, 2016

Hello,

We recently used poolboy to manage many workers (gen_server), but we check one problem, for example, each gen_server manage a socket connection in a port, so for example, each argument for each gen_server is the port where the socket will be opened, but we want manage the workers in a pool, to checkout and checkin the workers to establish a channel, and after when the channel is released, then checkin to the pool.

Then we decide modify some parts in the code of poolboy in order to make it works, we add tests for the new addition and modify the README file to show how it works.

I hope this can be helpful for the project and for other people having the same problem.

@holsee
Copy link

holsee commented Jul 2, 2018

bump

@bullno1
Copy link
Contributor

bullno1 commented Jul 3, 2018

Just want to chime in. Is this better handled at a higher level? You can checkout the worker and then give it some "initialization" parameters for example.

@saulbensach
Copy link

Hey Is this ever going to be implemented? is there other way to pass values to the workers?

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.

4 participants