feat: monitor role (#12364)

This commit is contained in:
jif-oai
2026-02-22 14:13:56 +00:00
committed by GitHub
Unverified
parent 55fc075723
commit 4666a6e631
5 changed files with 57 additions and 10 deletions
@@ -42,7 +42,7 @@ pub struct MultiAgentHandler;
/// Minimum wait timeout to prevent tight polling loops from burning CPU.
pub(crate) const MIN_WAIT_TIMEOUT_MS: i64 = 10_000;
pub(crate) const DEFAULT_WAIT_TIMEOUT_MS: i64 = 30_000;
pub(crate) const MAX_WAIT_TIMEOUT_MS: i64 = 300_000;
pub(crate) const MAX_WAIT_TIMEOUT_MS: i64 = 3600 * 1000;
#[derive(Debug, Deserialize)]
struct CloseAgentArgs {