Skip to content

Commit

Permalink
Increase heartbeat timeout to one minute (#1393)
Browse files Browse the repository at this point in the history
Closes #1330
  • Loading branch information
Dentosal authored Oct 2, 2023
1 parent a9ed29c commit d2ef5de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Description of the upcoming release here.
- [#1342](https://github.com/FuelLabs/fuel-core/pull/1342): Add error handling for P2P requests to return `None` to requester and log error.
- [#1383](https://github.com/FuelLabs/fuel-core/pull/1383): Disallow usage of `log` crate internally in favor of `tracing` crate.
- [#1390](https://github.com/FuelLabs/fuel-core/pull/1390): Up the `ethers` version to `2` to fix an issue with `tungstenite`.
- [#1393](https://github.com/FuelLabs/fuel-core/pull/1393): Increase heartbeat timeout from `2` to `60` seconds, as suggested in [this issue](https://github.com/FuelLabs/fuel-core/issues/1330).

#### Breaking
- [#1374](https://github.com/FuelLabs/fuel-core/pull/1374): Renamed `base_chain_height` to `da_height` and return current relayer height instead of latest Fuel block height.
Expand Down
2 changes: 1 addition & 1 deletion crates/services/p2p/src/heartbeat/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ impl HeartbeatConfig {
impl Default for HeartbeatConfig {
fn default() -> Self {
Self::new(
Duration::from_secs(2),
Duration::from_secs(60),
Duration::from_secs(1),
NonZeroU32::new(5).expect("5 != 0"),
)
Expand Down

0 comments on commit d2ef5de

Please sign in to comment.