Increase hook timeout from 15s to 30s

This commit is contained in:
Caelan Sayler
2022-02-18 12:28:33 +00:00
parent 8822fcb195
commit bec63ab900

View File

@@ -402,7 +402,7 @@ namespace Squirrel
// 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);