Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
Increase hook timeout from 15s to 30s
Browse files Browse the repository at this point in the history
  • Loading branch information
caesay committed Feb 18, 2022
1 parent 8822fcb commit bec63ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Squirrel/UpdateManager.ApplyReleases.cs
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ async Task invokePostInstall(SemanticVersion currentVersion, bool isInitialInsta
// For each app, run the install command in-order and wait
if (!firstRunOnly) await squirrelApps.ForEachAsync(async exe => {
using (var cts = new CancellationTokenSource()) {
cts.CancelAfter(15 * 1000);
cts.CancelAfter(30 * 1000);
try {
await Utility.InvokeProcessAsync(exe, args, cts.Token, Path.GetDirectoryName(exe)).ConfigureAwait(false);
Expand Down

0 comments on commit bec63ab

Please sign in to comment.