Skip to content

Commit 656fe99

Browse files
committed
Reduce timeout limit
1 parent 011fafd commit 656fe99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Main.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ foreach ($folder in $folders) {
109109
Write-TimedMessage "Importing VBA code into Office document" -StartNewStep
110110
# Replace the direct Build-VBA call with the timeout version
111111
$buildVbaScriptPath = "$PSScriptRoot/scripts/Build-VBA.ps1"
112-
$success = Invoke-ScriptWithTimeout -ScriptPath $buildVbaScriptPath -Arguments @("${SourceDir}/${folder}", "$app") -TimeoutSeconds 300
112+
$success = Invoke-ScriptWithTimeout -ScriptPath $buildVbaScriptPath -Arguments @("${SourceDir}/${folder}", "$app") -TimeoutSeconds 60
113113

114114
if (-not $success) {
115115
Write-TimedMessage "🔴 Build-VBA.ps1 execution timed out or failed for ${folder}. Continuing with next file..."

0 commit comments

Comments
 (0)