Browse Source

fix: service listener backoff policy

Remove the `max_elapsed_time` limit
Yujia Qiao 4 years ago
parent
commit
b6c353e7bf
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/server.rs

+ 1 - 0
src/server.rs

@@ -321,6 +321,7 @@ impl<T: Transport> ControlChannel<T> {
 
         let mut backoff = ExponentialBackoff {
             max_interval: Duration::from_secs(1),
+            max_elapsed_time: None,
             ..Default::default()
         };
         loop {