-
Notifications
You must be signed in to change notification settings - Fork 115
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
go/consensus: Move upgrade logic to governance, gracefully handle halt #3755
Conversation
59042fc
to
a4c8d42
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! left some minor comments
go func() { | ||
// Sleep another period so there is some time between when consensus shuts down and | ||
// when all the other services start shutting down. | ||
time.Sleep(waitPeriod) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it make more sense to use a different (static, not dependent on TimeoutCommit
) period here?
a4c8d42
to
8b391b6
Compare
Codecov Report
@@ Coverage Diff @@
## master #3755 +/- ##
==========================================
- Coverage 67.07% 67.02% -0.06%
==========================================
Files 401 401
Lines 39927 39970 +43
==========================================
+ Hits 26783 26790 +7
- Misses 9363 9368 +5
- Partials 3781 3812 +31
Continue to review full report at Codecov.
|
8b391b6
to
d1d1ebc
Compare
No description provided.