From 9f8f032dce9df9a0d86d79f51993f899e137fd60 Mon Sep 17 00:00:00 2001 From: divocat Date: Thu, 23 Oct 2025 19:01:06 +0300 Subject: [PATCH] feat: increase shell timeout to 15s --- fe-app-podkop/src/podkop/methods/shell/callBaseMethod.ts | 2 +- .../htdocs/luci-static/resources/view/podkop/main.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fe-app-podkop/src/podkop/methods/shell/callBaseMethod.ts b/fe-app-podkop/src/podkop/methods/shell/callBaseMethod.ts index 04f1ef9..519cd36 100644 --- a/fe-app-podkop/src/podkop/methods/shell/callBaseMethod.ts +++ b/fe-app-podkop/src/podkop/methods/shell/callBaseMethod.ts @@ -9,7 +9,7 @@ export async function callBaseMethod( const response = await executeShellCommand({ command, args: [method as string, ...args], - timeout: 10000, + timeout: 15000, }); if (response.stdout) { diff --git a/luci-app-podkop/htdocs/luci-static/resources/view/podkop/main.js b/luci-app-podkop/htdocs/luci-static/resources/view/podkop/main.js index 4c6e0e5..b68dcec 100644 --- a/luci-app-podkop/htdocs/luci-static/resources/view/podkop/main.js +++ b/luci-app-podkop/htdocs/luci-static/resources/view/podkop/main.js @@ -487,7 +487,7 @@ async function callBaseMethod(method, args = [], command = "/usr/bin/podkop") { const response = await executeShellCommand({ command, args: [method, ...args], - timeout: 1e4 + timeout: 15e3 }); if (response.stdout) { try {