-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit fixes a bug that was preventing the failed vote retry loop from exiting when a SIGINT (ctrl+c) is received. The user was being forced to use a SIGKILL to kill the politeiavoter process. The root cause was that the retry loop was using a time.Sleep() call instead of using the WaitFor() call, which accepts a context and exits when the context is canceled.
- Loading branch information
Showing
2 changed files
with
11 additions
and
6 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
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