diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-10-20 02:25:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-20 02:25:25 +0200 |
commit | 369cc5f555821d823d4daf7aab3142cdac896a69 (patch) | |
tree | 5f5d4f4e5fe76fd6d82d81e83a8de82df757e765 /config/locales/simple_form.ast.yml | |
parent | eb1b9903a6f60d024d71bffd635e6fec7edc59a9 (diff) |
Check if port/socket is available before forking in Streaming API (#9023)
Previously, the server would attempt taking port/socket in worker process, and if it was taken, fail, which made the master process create a new worker. This led to really high CPU usage if the streaming API was started when the port or socket were not available. Now, before clustering (forking) into worker processes, a test server is created and then removed to check if it can be done.
Diffstat (limited to 'config/locales/simple_form.ast.yml')
0 files changed, 0 insertions, 0 deletions