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

updater: sleep before continuing the lock loop #423

Merged
merged 1 commit into from
Jun 29, 2017
Merged

updater: sleep before continuing the lock loop #423

merged 1 commit into from
Jun 29, 2017

Conversation

jzelinskie
Copy link
Contributor

This change makes the updater sleep for a small portion of time before
it continues to try and obtain a lock for running the updates. This will
prevent the CPU from being pinned in the case where an error is
consistently failing an update.

Fixes #415.

This change makes the updater sleep for a small portion of time before
it continues to try and obtain a lock for running the updates. This will
prevent the CPU from being pinned in the case where an error is
consistently failing an update.

Fixes #415.
@jzelinskie jzelinskie added the kind/bug things are not as they seem label Jun 28, 2017
@jzelinskie jzelinskie merged commit 74edd85 into quay:master Jun 29, 2017
@jzelinskie jzelinskie deleted the sleep-updater branch June 29, 2017 19:59
jzelinskie added a commit that referenced this pull request Jun 29, 2017
updater: sleep before continuing the lock loop
KeyboardNerd pushed a commit to KeyboardNerd/clair that referenced this pull request Feb 2, 2018
updater: sleep before continuing the lock loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug things are not as they seem
Development

Successfully merging this pull request may close these issues.

None yet

2 participants