-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Implement prefork which invokes bundler. #3
Comments
Also, I'm fine with the prefork process using |
@bryanp feel free to join https://gitter.im/socketry/async to discuss any related issues |
On the following point:
I wonder if it's better to take a block/proc/callback or just invoke a method on the class, so it can be changed by subclass/injection/proc. |
Okay, this was implemented and is essentially done by using |
socketry/falcon#53
Async::Container::Preforked
which supports a similar interface toAsync::Container::Forked
(maybe extract common functionality).Bundler.require
with an appropriate bundler group (open to ideas, could be hard coded to:preforked
or perhaps something more generic). The pre-fork process should spawn children processes, maybe by invokingAsync::Container::Forked
.The text was updated successfully, but these errors were encountered: