Skip to content

Commit

Permalink
fix: retry 401 on plex metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
lostb1t committed Nov 14, 2023
1 parent 77a338f commit 1eaab3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plex_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ impl PlexClient {
.with(RetryTransientMiddleware::new_with_policy_and_strategy(
ExponentialBackoff::builder()
.retry_bounds(
Duration::from_millis(250),
Duration::from_millis(500),
Duration::from_secs(2),
)
.build_with_max_retries(3),
Expand Down

0 comments on commit 1eaab3c

Please sign in to comment.