mirror of https://github.com/rapiz1/rathole.git
fix: service listener backoff policy
Remove the `max_elapsed_time` limit
This commit is contained in:
parent
f92398ea31
commit
b6c353e7bf
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue