We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 454dc3f commit 7c23825Copy full SHA for 7c23825
.changeset/short-rats-double.md
@@ -0,0 +1,5 @@
1
+---
2
+"@nomicfoundation/edr": patch
3
4
+
5
+fix: increase rate limiting retries
crates/edr_eth/src/remote/client.rs
@@ -51,8 +51,8 @@ const TMP_DIR: &str = "tmp";
51
// Retry parameters for rate limited requests.
52
const EXPONENT_BASE: u32 = 2;
53
const MIN_RETRY_INTERVAL: Duration = Duration::from_secs(1);
54
-const MAX_RETRY_INTERVAL: Duration = Duration::from_secs(16);
55
-const MAX_RETRIES: u32 = 7;
+const MAX_RETRY_INTERVAL: Duration = Duration::from_secs(32);
+const MAX_RETRIES: u32 = 9;
56
57
/// Specialized error types
58
#[derive(Debug, thiserror::Error)]
0 commit comments