Skip to content

Commit

Permalink
Merge pull request #392 from dabutvin/timeout
Browse files Browse the repository at this point in the history
bump up timeout to 60 seconds
  • Loading branch information
dabutvin authored May 20, 2019
2 parents 3bd87b8 + bdc91fa commit d78b6f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CompressImagesFunction/CompressImages.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ private static CompressionResult[] OptimizeImages(Repository repo, string localP

// returns true if the Task completed execution within the allotted time; otherwise, false.
// Cancel and continue with the rest
if (task.Wait(10 * 1000) == false)
if (task.Wait(60 * 1000) == false)
{
logger.LogInformation("Timeout processing {Image}", image);
tokenSource.Cancel();
Expand Down

0 comments on commit d78b6f3

Please sign in to comment.