-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updater: sleep before continuing the lock loop
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.
- Loading branch information
1 parent
04847a0
commit 0d18a62
Showing
1 changed file
with
27 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters