feat: increase shell timeout to 15s

This commit is contained in:
divocat
2025-10-23 19:01:06 +03:00
parent 8301f4c271
commit 9f8f032dce
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ export async function callBaseMethod<T>(
const response = await executeShellCommand({ const response = await executeShellCommand({
command, command,
args: [method as string, ...args], args: [method as string, ...args],
timeout: 10000, timeout: 15000,
}); });
if (response.stdout) { if (response.stdout) {

View File

@@ -487,7 +487,7 @@ async function callBaseMethod(method, args = [], command = "/usr/bin/podkop") {
const response = await executeShellCommand({ const response = await executeShellCommand({
command, command,
args: [method, ...args], args: [method, ...args],
timeout: 1e4 timeout: 15e3
}); });
if (response.stdout) { if (response.stdout) {
try { try {