summaryrefslogtreecommitdiff
path: root/makima/src/daemon/cli
diff options
context:
space:
mode:
Diffstat (limited to 'makima/src/daemon/cli')
-rw-r--r--makima/src/daemon/cli/supervisor.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/makima/src/daemon/cli/supervisor.rs b/makima/src/daemon/cli/supervisor.rs
index 7e17135..3bc8525 100644
--- a/makima/src/daemon/cli/supervisor.rs
+++ b/makima/src/daemon/cli/supervisor.rs
@@ -60,9 +60,13 @@ pub struct WaitArgs {
#[arg(index = 1)]
pub task_id: Uuid,
- /// Timeout in seconds
+ /// Timeout in seconds (total wait time)
#[arg(index = 2, default_value = "300")]
pub timeout: i32,
+
+ /// Polling interval in seconds (how often to check task status via client-side polling)
+ #[arg(long, default_value = "5")]
+ pub poll_interval: u64,
}
/// Arguments for read-file command.