MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / shutdown

Function shutdown

apps/api/e2e/lib.ts:228–231  ·  view source on GitHub ↗
(failed: number)

Source from the content-addressed store, hash-verified

226}
227
228export async function shutdown(failed: number): Promise<never> {
229 await redis.quit().catch(() => {});
230 process.exit(failed ? 1 : 0);
231}

Callers 4

mainFunction · 0.90
session-stress.tsFile · 0.90
mainFunction · 0.90
session-e2e.tsFile · 0.90

Calls 1

catchMethod · 0.45

Tested by

no test coverage detected