Skip to content

Commit

Permalink
fix: Increase max slack retries to 8 after rate limit error
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian May committed Apr 10, 2024
1 parent 554704b commit a7f8258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/output/slack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ use tokio::time::sleep_until;
use tokio::time::Instant;

const DEFAULT_RETRY: Duration = Duration::from_secs(5);
const MAX_TRIES: u32 = 3;
const MAX_TRIES: u32 = 8;

pub struct SlackOutput {
thread: Option<JoinHandle<()>>,
Expand Down

0 comments on commit a7f8258

Please sign in to comment.