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

Name heartbeat thread with group_id; use backoff when polling #1345

Merged
merged 2 commits into from
Jan 16, 2018

Conversation

dpkp
Copy link
Owner

@dpkp dpkp commented Jan 12, 2018

Another set of small improvements that I stashed while working on other PRs. To help with log analysis we can name the heartbeat thread using the consumer group_id . I've also added a short timeout to the internal heartbeat poll to avoid tight loops.

@dpkp
Copy link
Owner Author

dpkp commented Jan 12, 2018

This is causing problems on pypy for some reason. Needs investigation.

@dpkp dpkp merged commit 13490fa into master Jan 16, 2018
dpkp added a commit that referenced this pull request Jan 16, 2018
@dpkp
Copy link
Owner Author

dpkp commented Jan 16, 2018

A bit too trigger happy

@dpkp
Copy link
Owner Author

dpkp commented Jan 16, 2018

I'm not sure what's wrong with me today. The thread rename should be merged. The timeout change should not. I'm just going to push that manually.

@dpkp dpkp deleted the heartbeat_cleanups branch February 16, 2018 19:45
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.

3 participants