Skip to content

Commit

Permalink
Update src/AppInstallerRepositoryCore/RepositorySource.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: JohnMcPMS <[email protected]>
  • Loading branch information
msftrubengu and JohnMcPMS authored Oct 2, 2023
1 parent 538a84c commit cc79973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AppInstallerRepositoryCore/RepositorySource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ namespace AppInstaller::Repository
// Rethrow this exception rather than waiting if it exceeds the limit.
if (waitSecondsForRetry > maximumWaitTimeAllowed)
{
details.DoNotUpdateBefore = std::chrono::system_clock::now() + GetMillisecondsToWait(sue.RetryAfter(), 3);
details.DoNotUpdateBefore = std::chrono::system_clock::now() + waitSecondsForRetry;
AICLI_LOG(Repo, Info, << "Source `" << details.Name << "` unavailable first try, setting DoNotUpdateBefore to " << details.DoNotUpdateBefore);
result.MetadataWritten = true;
return result;
Expand Down

0 comments on commit cc79973

Please sign in to comment.