fix(striker-ui): set timeout to 30s for manage alerts

main
Tsu-ba-me 11 months ago
parent de09c47caa
commit c5c127e4c6
  1. 2
      striker-ui-api/src/lib/execManageAlerts.ts

@ -75,7 +75,7 @@ export const execManageAlerts = (
result = spawnSync( result = spawnSync(
SERVER_PATHS.usr.sbin['anvil-manage-alerts'].self, SERVER_PATHS.usr.sbin['anvil-manage-alerts'].self,
commandArgs, commandArgs,
{ encoding: 'utf-8', timeout: 10000 }, { encoding: 'utf-8', timeout: 30000 },
); );
const { error, signal, status, stderr, stdout } = result; const { error, signal, status, stderr, stdout } = result;

Loading…
Cancel
Save