From bdc91fac0762fc3a3b2dcbc021a40cad07c327d8 Mon Sep 17 00:00:00 2001 From: dabutvin Date: Mon, 20 May 2019 01:16:32 -0700 Subject: [PATCH] bump up timeout to 60 seconds --- CompressImagesFunction/CompressImages.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CompressImagesFunction/CompressImages.cs b/CompressImagesFunction/CompressImages.cs index 4921adaf7..ea71b9f32 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(10 * 1000) == false) + if (task.Wait(60 * 1000) == false) { logger.LogInformation("Timeout processing {Image}", image); tokenSource.Cancel();