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

Fix self.nr usage in ThreadedWorker so that auto restart works as expected #1031

Merged
merged 1 commit into from
May 20, 2015

Conversation

jhekkanen
Copy link
Contributor

Use nr_conns for counting the connections and self.nr for counting the requests.

Closes #1030

benoitc added a commit that referenced this pull request May 20, 2015
Fix self.nr usage in ThreadedWorker so that auto restart works as expected
@benoitc benoitc merged commit 3a2c437 into benoitc:master May 20, 2015
@benoitc
Copy link
Owner

benoitc commented May 20, 2015

thanks!

@kenrobbins
Copy link

Hi, will this be in a release soon? Stumbled on this issue when going from 19.1.1 to 19.3.0. Thanks.

@sseg
Copy link

sseg commented Jan 18, 2016

Though I couldn't find notice of it in the changelog, this patch is at least included in version 19.4.5

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

Successfully merging this pull request may close these issues.

Auto restart is not working with gunicorn.workers.gthread.ThreadWorker
4 participants