refactor: increase timeout for safeExec function

This commit is contained in:
Ivan K
2025-02-24 19:37:59 +03:00
parent 3ec6cc4d84
commit 59e1d75870

View File

@@ -11,7 +11,7 @@ const STATUS_COLORS = {
WARNING: '#ff9800'
};
async function safeExec(command, args = [], timeout = 3000) {
async function safeExec(command, args = [], timeout = 5000) {
try {
const controller = new AbortController();
const timeoutId = setTimeout(() => controller.abort(), timeout);