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

Restarting app shouldn't drop requests #17

Open
lazyatom opened this issue Apr 12, 2012 · 2 comments
Open

Restarting app shouldn't drop requests #17

lazyatom opened this issue Apr 12, 2012 · 2 comments

Comments

@lazyatom
Copy link
Contributor

I think unicorn can do application restarts without losing a single request, but I suspect that foreman is shutting it down completely and restarting it. This might be a quick fix for the issue where printers print out 503 errors after a deployment.

@lazyatom
Copy link
Contributor Author

Another quick fix might be setting the retry parameter of Apache's ProxyPass directive to 0 -- see http://httpd.apache.org/docs/2.2/mod/mod_proxy.html

@lazyatom
Copy link
Contributor Author

I've added retry=0 to the apache config, because I can't find a simple way of getting upstart (and therefore foreman) to restart a process by sending a different signal.

lazyatom added a commit that referenced this issue May 7, 2012
@lazyatom lazyatom reopened this May 7, 2012
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

No branches or pull requests

1 participant