Make ensureWorkerRunning async with health checks
Co-authored-by: thedotmack <683968+thedotmack@users.noreply.github.com>
This commit is contained in:
@@ -26,7 +26,7 @@ async function summaryHook(input?: StopInput): Promise<void> {
|
||||
const { session_id } = input;
|
||||
|
||||
// Ensure worker is running
|
||||
ensureWorkerRunning();
|
||||
await ensureWorkerRunning();
|
||||
|
||||
const db = new SessionStore();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user