mirror of
https://github.com/itdoginfo/podkop.git
synced 2025-12-15 16:06:53 +03:00
feat: increase shell timeout to 15s
This commit is contained in:
@@ -9,7 +9,7 @@ export async function callBaseMethod<T>(
|
||||
const response = await executeShellCommand({
|
||||
command,
|
||||
args: [method as string, ...args],
|
||||
timeout: 10000,
|
||||
timeout: 15000,
|
||||
});
|
||||
|
||||
if (response.stdout) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user