feat(ops): restart individual PM2 children and enrich manage UI

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-20 22:31:34 +07:00
co-authored by Cursor
parent 84f29057df
commit aa3c2a25b2
12 changed files with 658 additions and 237 deletions
+5 -1
View File
@@ -126,7 +126,11 @@ export async function startApp(opts = {}) {
}
});
const registry = createRegistry(server, { queue: workflowQueue });
const registry = createRegistry(server, {
queue: workflowQueue,
// Cron + HTTP triggers enqueue jobs; only the API process may own them.
enableTriggers: runApi,
});
registry.registerWorkflows();
if (runApi) {
registry.registerHttpTriggers();