aboutsummaryrefslogtreecommitdiff
path: root/src/api/k2v/item.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/k2v/item.rs')
-rw-r--r--src/api/k2v/item.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/k2v/item.rs b/src/api/k2v/item.rs
index e7385bcc..787a7df3 100644
--- a/src/api/k2v/item.rs
+++ b/src/api/k2v/item.rs
@@ -206,7 +206,7 @@ pub async fn handle_poll_item(
let causal_context =
CausalContext::parse(&causality_token).ok_or_bad_request("Invalid causality token")?;
- let timeout_msec = timeout_secs.unwrap_or(300).clamp(10, 600) * 1000;
+ let timeout_msec = timeout_secs.unwrap_or(300).clamp(1, 600) * 1000;
let item = garage
.k2v