-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Worker count when using rackup? #49
Comments
Use the
|
Gotcha. And thanks for the quick response! By the way, I forked your repo to fix a few compilation issues. If you're interested I can submit a PR. |
By all means. I use a C11 compiler so miss some of those. If you have them covered a fix would be really helpful. |
Great! Will do. By the way, does agoo support a) listening on a unix socket, and b) hot restarts? (Via USR2 or some other method) |
It does support unix sockets. Checkout the Agoo does not support hot restarts today. On the plus side it starts pretty fast. :-) |
I see. So unix socket not possible via rackup, right? (Couldn't find anything related to it on the rack handler definition) |
Good point. I can add that. If you want to open an issue for that I'll use that for the addition. I'm curious, |
I actually don't use the I'm not sure what your reasons are not to do it that way, but I think supporting config.ru from the |
I suppose Agoo could look at the file suffix and if a |
;) |
I'll put something up for both those issues in the next few days. You comments would be appreciated. |
Hi, great work with agoo!
I'm trying to fire the server through
rackup
(using a regular config.ru) but I'm not sure how to set the number of workers. I tried putting something like this on the config.ru file itself:Agoo::Server.init(6471, 'root', thread_count: 8, worker_count: 4)
But no workie. How do I accomplish this?
The text was updated successfully, but these errors were encountered: