Skip to content

Commit

Permalink
Increase the connections opening rate limit (#1425)
Browse files Browse the repository at this point in the history
* Increase the connections opening rate limit

* PR link
  • Loading branch information
tomaka authored Nov 28, 2023
1 parent e63a975 commit dd2901e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions light-base/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1093,8 +1093,8 @@ fn start_services<TPlat: platform::PlatformRef>(
network_service::NetworkService::new(network_service::Config {
platform: platform.clone(),
identify_agent_version: network_identify_agent_version,
connections_open_pool_size: 5,
connections_open_pool_restore_delay: Duration::from_secs(1),
connections_open_pool_size: 8,
connections_open_pool_restore_delay: Duration::from_millis(100),
chains_capacity: 1,
})
});
Expand Down
4 changes: 4 additions & 0 deletions wasm-node/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Changed

- Increase the rate at which connections are opened to 10 per second, with a pool of 8 simultaneous connections openings. ([#1425](https://github.com/smol-dot/smoldot/pull/1425))

## 2.0.12 - 2023-11-27

### Fixed
Expand Down

0 comments on commit dd2901e

Please sign in to comment.