Skip to content

Commit

Permalink
bump up timeout to 60 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
dabutvin committed May 20, 2019
1 parent 6c66859 commit bdc91fa
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 bdc91fa

Please sign in to comment.