Skip to content

Commit 7c05c72

Browse files
committed
fix: lower batcher listen to new blocks max retry delay
1 parent 79684a0 commit 7c05c72

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

batcher/aligned-batcher/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ impl Batcher {
415415
}
416416
});
417417
}
418-
error!("Failed to fetch blocks");
418+
error!("Both main and fallback Ethereum WS clients subscriptions have disconnected, will try to reconnect...");
419419

420420
Err(RetryError::Transient(
421421
BatcherError::EthereumSubscriptionError("Could not get new blocks".to_string()),

batcher/aligned-sdk/src/common/constants.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pub const DEFAULT_MAX_FEE_BATCH_SIZE: usize = 10;
4141
pub const ETHEREUM_CALL_MIN_RETRY_DELAY: u64 = 500; // milliseconds
4242
pub const ETHEREUM_CALL_MAX_RETRIES: usize = 5;
4343
pub const ETHEREUM_CALL_BACKOFF_FACTOR: f32 = 2.0;
44-
pub const ETHEREUM_CALL_MAX_RETRY_DELAY: u64 = 3600; // seconds
44+
pub const ETHEREUM_CALL_MAX_RETRY_DELAY: u64 = 60; // seconds
4545

4646
/// Ethereum transaction retry constants
4747
pub const BUMP_MIN_RETRY_DELAY: u64 = 500; // milliseconds

0 commit comments

Comments
 (0)