We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d69cd0 commit 6b5feffCopy full SHA for 6b5feff
src/lib.rs
@@ -62,9 +62,7 @@ pub async fn app(arguments: Arguments) -> axum::Router {
62
.expect("Cache URL is not correctly formatted");
63
let mut builder = fred::types::Builder::from_config(config);
64
builder
65
- .set_policy(fred::types::ReconnectPolicy::new_exponential(
66
- 0, 100, 10_000, 2,
67
- ))
+ .set_policy(fred::types::ReconnectPolicy::new_constant(4, 1500))
68
.with_config(|c| {
69
c.fail_fast = false;
70
c.tracing.enabled = true;
0 commit comments