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

[Merged by Bors] - sync: parametrize out of sync threshold and set it to 3h for mainnet #5040

Closed

Conversation

dshulyak
Copy link
Contributor

related: #5036

in future we should drop it completely, and use only connectivity information to decide if node should stop participating
in consensus. there should be no risk of interrupting consensus, because of any unexpected failures in sync process.

@dshulyak dshulyak force-pushed the parametrize-out-of-sync-threshold branch from 425aeb9 to 5bdb8b1 Compare September 20, 2023 11:07
@codecov
Copy link

codecov bot commented Sep 20, 2023

Codecov Report

Merging #5040 (96c3095) into develop (74a1ba7) will decrease coverage by 0.1%.
Report is 1 commits behind head on develop.
The diff coverage is 93.7%.

@@            Coverage Diff            @@
##           develop   #5040     +/-   ##
=========================================
- Coverage     77.1%   77.1%   -0.1%     
=========================================
  Files          257     257             
  Lines        30275   30277      +2     
=========================================
  Hits         23348   23348             
- Misses        5401    5402      +1     
- Partials      1526    1527      +1     
Files Changed Coverage Δ
syncer/syncer.go 92.4% <90.0%> (+<0.1%) ⬆️
config/mainnet.go 95.8% <100.0%> (+<0.1%) ⬆️

... and 4 files with indirect coverage changes

config/mainnet.go Outdated Show resolved Hide resolved
@dshulyak
Copy link
Contributor Author

bors merge

bors bot pushed a commit that referenced this pull request Sep 21, 2023
…5040)

related: #5036

in future we should drop it completely, and use only connectivity information to decide if node should stop participating
in consensus. there should be no risk of interrupting consensus, because of any unexpected failures in sync process.
@bors
Copy link

bors bot commented Sep 21, 2023

Pull request successfully merged into develop.

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot changed the title sync: parametrize out of sync threshold and set it to 3h for mainnet [Merged by Bors] - sync: parametrize out of sync threshold and set it to 3h for mainnet Sep 21, 2023
@bors bors bot closed this Sep 21, 2023
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.

None yet

2 participants