-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
peer+server: add new config option to optionally disable stall detection #1752
peer+server: add new config option to optionally disable stall detection #1752
Conversation
d43ba26
to
361233c
Compare
Pull Request Test Coverage Report for Build 1296745038
💛 - Coveralls |
For user friendliness, I think it'd be better if the Fairly sure you wouldn't want this for testnet either.. |
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, pending @kcalvinalvin's suggestion 🎉
I agree with the check to disable this on mainnet. No opinion on testnet. |
We definitely need this to fix our itest flakes! I'm seeing this disconnect problem more often now. |
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! 🎉
Could you rebase this PR so it runs the correct actions? |
Hmm, this seems to block |
361233c
to
ef3e88c
Compare
In this commit, we add a new config options that allows one to start `btcd` in an operating mode that disables the stall detection. This can be useful in simnet/regtest integration tests settings where it's important that `btcd` holds on to its possibly sole connection to the only other node in the test harness. A new config flag has been added to gate this behavior, which is off by default.
ef3e88c
to
e98a1a1
Compare
@jcvernaleo @kcalvinalvin PTAL Applied that fix, thanks @guggero! |
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.
tACK e98a1a1.
Post merge ACK |
In this commit, we add a new config options that allows one to start
btcd
in an operating mode that disables the stall detection. This canbe useful in simnet/regtest integration tests settings where it's
important that
btcd
holds on to its possibly sole connection to theonly other node in the test harness.
A new config flag has been added to gate this behavior, which is off by
default.