Skip to content

Commit

Permalink
fix: backoff_interval adjusted for MacOS
Browse files Browse the repository at this point in the history
fix: include sleep_duration calculation
  • Loading branch information
aamohd committed Nov 7, 2024
1 parent 39de368 commit 3611070
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hipcheck/src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ pub fn start_plugins(
/* max_spawn_attempts */ 3,
/* max_conn_attempts */ 5,
/* port_range */ 40000..u16::MAX,
/* backoff_interval_micros */ 1000,
/* backoff_interval_micros */ 100000,
/* jitter_percent */ 10,
)?;

Expand Down
2 changes: 1 addition & 1 deletion hipcheck/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ fn cmd_plugin(args: PluginArgs) {
/* max_spawn_attempts */ 3,
/* max_conn_attempts */ 5,
/* port_range */ 40000..u16::MAX,
/* backoff_interval_micros */ 1000,
/* backoff_interval_micros */ 100000,
/* jitter_percent */ 10,
)
.unwrap();
Expand Down

0 comments on commit 3611070

Please sign in to comment.