mirror of
https://github.com/itdoginfo/podkop.git
synced 2025-12-25 00:48:13 +03:00
fix: increase timeout for safeExec function
This commit is contained in:
@@ -11,7 +11,7 @@ const STATUS_COLORS = {
|
||||
WARNING: '#ff9800'
|
||||
};
|
||||
|
||||
async function safeExec(command, args = [], timeout = 5000) {
|
||||
async function safeExec(command, args = [], timeout = 7000) {
|
||||
try {
|
||||
const controller = new AbortController();
|
||||
const timeoutId = setTimeout(() => controller.abort(), timeout);
|
||||
|
||||
Reference in New Issue
Block a user