Skip to content

Commit

Permalink
chore: increased task timeout to be greater than individual image tim…
Browse files Browse the repository at this point in the history
…eout
  • Loading branch information
GrigoreMihai committed Aug 16, 2022
1 parent 7a40724 commit d6b997c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CompressImagesFunction/CompressImagesFunction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static async Task Trigger(
var installationTokenProvider = new InstallationTokenProvider();
var repoChecks = new RepoChecks();
var task = RunAsync(installationTokenProvider, compressImagesMessage, openPrMessages, compressImagesMessages, settingsTable, repoChecks, logger, context);
if (await Task.WhenAny(task, Task.Delay(570000)) == task)
if (await Task.WhenAny(task, Task.Delay(750000)) == task)
{
await task;
}
Expand Down

0 comments on commit d6b997c

Please sign in to comment.