Watch
0
0
Fork
You've already forked hyperhive
0

swarm-nats-auth: let the controller list the bash task statuses

This commit is contained in:
damocles 2026-11-16 01:18:22 +01:00 • committed by mara
commit 802151820c

View file

@ -26,6 +26,9 @@ use crate::TERM_SUBJECT_PREFIX;
/// The KV bucket the task statuses are published into.
pub const BUCKET: &str = "bash-task-status";
/// The stream backing [`BUCKET`]. `create_key_value` prefixes `KV_`.
pub const STREAM: &str = "KV_bash-task-status";
/// How often the writer republishes a `running` status while the task's
/// process lives, so a writer that died shows up as stale.
pub const HEARTBEAT_S: i64 = 60;