mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Increase hook timeout from 15s to 30s
This commit is contained in:
@@ -402,7 +402,7 @@ namespace Squirrel
|
|||||||
// For each app, run the install command in-order and wait
|
// For each app, run the install command in-order and wait
|
||||||
if (!firstRunOnly) await squirrelApps.ForEachAsync(async exe => {
|
if (!firstRunOnly) await squirrelApps.ForEachAsync(async exe => {
|
||||||
using (var cts = new CancellationTokenSource()) {
|
using (var cts = new CancellationTokenSource()) {
|
||||||
cts.CancelAfter(15 * 1000);
|
cts.CancelAfter(30 * 1000);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await Utility.InvokeProcessAsync(exe, args, cts.Token, Path.GetDirectoryName(exe)).ConfigureAwait(false);
|
await Utility.InvokeProcessAsync(exe, args, cts.Token, Path.GetDirectoryName(exe)).ConfigureAwait(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user