- 
                Notifications
    You must be signed in to change notification settings 
- Fork 714
Fix: reduce chain-liveness poll frequency #3610
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
Conversation
| Codecov Report
 @@            Coverage Diff             @@
##           master    #3610      +/-   ##
==========================================
+ Coverage   29.86%   30.33%   +0.46%     
==========================================
  Files         298      298              
  Lines      275064   275069       +5     
==========================================
+ Hits        82143    83435    +1292     
+ Misses     192921   191634    -1287     
 ... and 75 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more | 
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.
LGTM. I'm curious how this lead to the livelock conditions you were seeing?
| Also, does this supersede #3609? | 
| Yes, I think #3609 isn't necessary with this patch. Our testnet miner was configured with: [miner]
    first_attempt_time_ms = 5000
    subsequent_attempt_time_ms = 15000
    microblock_attempt_time_ms = 5000This caused the  I think this PR is still a bandaid for this behavior. I think there's perhaps two other approaches that should be explored: 
 | 
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.
lgtm
fbe1b95    to
    6ccadda      
    Compare
  
    | This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. | 
Description
This PR reduces the chain-liveness poll frequency. This was driving the issues facing Hiro's testnet miner yesterday.