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

server/asset/btc: compile time configurable poll interval #2339

Merged
merged 1 commit into from
May 5, 2023

Conversation

chappjc
Copy link
Member

@chappjc chappjc commented May 3, 2023

12147ba but for BTC
1 second polling is too fast for remote nodes.
This variable affects all btc clone assets.

Copy link
Member

@JoeGruffins JoeGruffins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working as intended, but why a compile time setting rather than a config setting? I think the locktimes are compile time because they should never be touched by node operators, but this seems like it would be useful for everyone. I guess I missed commenting on this for eth.

@chappjc
Copy link
Member Author

chappjc commented May 4, 2023

Working as intended, but why a compile time setting rather than a config setting? I think the locktimes are compile time because they should never be touched by node operators, but this seems like it would be useful for everyone. I guess I missed commenting on this for eth.

Niche I guess. Just solving a practical issue with minimal code bloat

@chappjc
Copy link
Member Author

chappjc commented May 5, 2023

Can make a config opt at some point. Just need this asap, so merging.

@chappjc chappjc merged commit 0ed177c into decred:master May 5, 2023
@chappjc chappjc deleted the btc-poll-int branch May 5, 2023 13:00
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.

2 participants