Skip to content

Commit

Permalink
tweak retry
Browse files Browse the repository at this point in the history
  • Loading branch information
f2calv committed Sep 30, 2024
1 parent 52b6d37 commit 88d5987
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/CasCap.Apis.GooglePhotos/Extensions/DI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ static void AddServices(this IServiceCollection services,
{
options.Retry = new Http.Resilience.HttpRetryStrategyOptions
{
Delay = TimeSpan.FromSeconds(30)
Delay = TimeSpan.FromSeconds(1),
BackoffType = DelayBackoffType.Exponential,
MaxRetryAttempts = 6
};
});
}
Expand Down

0 comments on commit 88d5987

Please sign in to comment.