You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A small code review led me to one interesting feature of the Puma control server: the /reload action.
When I've set up Puma with the following command:
% bundle exec puma --control 'tcp://127.0.0.1:1337' --control-token 'foo'
Puma 1.1.1 starting...
* Min threads: 0, max threads: 16
* Listening on tcp://0.0.0.0:9292
* Starting status server on tcp://127.0.0.1:1337
Use Ctrl-C to stop
and executed the following command:
% curl 'http://127.0.0.1:1337/restart?token=foo'
I got no output from curl among with the following strange output from Puma process:
* Restarting...
Puma 1.1.1 starting...
* Min threads: 0, max threads: 16
* Listening on tcp://0.0.0.0:9292
* Starting status server on tcp://127.0.0.1:1337
Address already in use - bind(2)
The Puma process was terminated. Is this bug or feature?
The text was updated successfully, but these errors were encountered:
A small code review led me to one interesting feature of the Puma control server: the
/reload
action.When I've set up Puma with the following command:
and executed the following command:
I got no output from curl among with the following strange output from Puma process:
The Puma process was terminated. Is this bug or feature?
The text was updated successfully, but these errors were encountered: