Skip to content

Commit

Permalink
Merge pull request #1 from meryacine/unreachable-towers-race-condition
Browse files Browse the repository at this point in the history
Simplifying the retrier
  • Loading branch information
sr-gi committed Sep 16, 2022
2 parents 56ec2eb + 9ba6a83 commit 12a64d8
Show file tree
Hide file tree
Showing 3 changed files with 236 additions and 130 deletions.
4 changes: 2 additions & 2 deletions watchtower-plugin/src/main.rs
Expand Up @@ -615,8 +615,8 @@ async fn main() -> Result<(), Error> {
60
};
tokio::spawn(async move {
RetryManager::new(state_clone)
.manage_retry(max_elapsed_time, max_interval_time, rx)
RetryManager::new(state_clone, rx, max_elapsed_time, max_interval_time)
.manage_retry()
.await
});
plugin.join().await
Expand Down

0 comments on commit 12a64d8

Please sign in to comment.