Flows and dashboards are created by POST under an issued or superuser-pinned id; PUT only updates; deleted flows leave a tombstone with their key; the controller stores by id and runs by key, hooks live under /hooks/<flow id>; a key with state or queued work behind it is refused until cleared
This commit is contained in:
@@ -204,7 +204,8 @@ async def read_summary(request: Request, controller: FlowControllerDep) -> Any:
|
||||
if queue.get("error"):
|
||||
problems.append("work queue unreachable")
|
||||
|
||||
names = await run_in_threadpool(controller.store.list_flows)
|
||||
# Keys, which is what the engine's gates and quarantine go by.
|
||||
names = list(await run_in_threadpool(controller.store.key_index))
|
||||
quarantined = controller.quarantined
|
||||
paused = set(controller.paused_flows())
|
||||
entries = list(controller.loaded.values())
|
||||
|
||||
Reference in New Issue
Block a user