diff --git a/CompressImagesFunction/CompressImages.cs b/CompressImagesFunction/CompressImages.cs index ea71b9f32..877a71877 100644 --- a/CompressImagesFunction/CompressImages.cs +++ b/CompressImagesFunction/CompressImages.cs @@ -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(60 * 1000) == false) + if (task.Wait(600 * 1000) == false) { logger.LogInformation("Timeout processing {Image}", image); tokenSource.Cancel();