aboutsummaryrefslogtreecommitdiff
path: root/src/api/k2v/batch.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/k2v/batch.rs')
-rw-r--r--src/api/k2v/batch.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/k2v/batch.rs b/src/api/k2v/batch.rs
index 844faf89..abc9403c 100644
--- a/src/api/k2v/batch.rs
+++ b/src/api/k2v/batch.rs
@@ -256,7 +256,7 @@ pub(crate) async fn handle_poll_range(
let query = parse_json_body::<PollRangeQuery>(req).await?;
- let timeout_msec = query.timeout.unwrap_or(300).clamp(10, 600) * 1000;
+ let timeout_msec = query.timeout.unwrap_or(300).clamp(1, 600) * 1000;
let resp = garage
.k2v