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

Set default antientropy_retry to one hour #4935

Merged
merged 3 commits into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to the versioning scheme outlined in the [README.md](README.md).

## [2.5.0.0.4]
### Added
- Added configuration option `connections.antientropy_retry` (#4932)
### Changed
- Set default antientropy_rety to run once per hour


## [2.5.0.0.4]

### Added
Expand Down
2 changes: 1 addition & 1 deletion stackslib/src/net/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ impl std::default::Default for ConnectionOptions {
public_ip_max_retries: 3, // maximum number of retries before self-throttling for $public_ip_timeout
max_block_push: 10, // maximum number of blocksData messages to push out via our anti-entropy protocol
max_microblock_push: 10, // maximum number of microblocks messages to push out via our anti-entropy protocol
antientropy_retry: 60, // retry pushing data once every minute
antientropy_retry: 3600, // retry pushing data once every hour
antientropy_public: true, // run antientropy even if we're NOT NAT'ed
max_buffered_blocks_available: 1,
max_buffered_microblocks_available: 1,
Expand Down