Skip to content

Commit

Permalink
Merge pull request #4935 from stacks-network/chore/default-antientrop…
Browse files Browse the repository at this point in the history
…y-retry

Set default antientropy_retry to one hour
  • Loading branch information
wileyj authored Jul 1, 2024
2 parents f938baf + ad14bed commit 51ae55d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
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

0 comments on commit 51ae55d

Please sign in to comment.