Skip to content

Commit dfaf631

Browse files
authored
Update mod.rs
Added 5 minutes timeout Signed-off-by: parmesant <anant.v09@proton.me>
1 parent b741ce3 commit dfaf631

File tree

1 file changed

+1
-0
lines changed
  • src/handlers/http/cluster

1 file changed

+1
-0
lines changed

src/handlers/http/cluster/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1329,6 +1329,7 @@ pub async fn send_query_request(query_request: &Query) -> Result<(JsonValue, Str
13291329

13301330
let res = match INTRA_CLUSTER_CLIENT
13311331
.post(uri)
1332+
.timeout(Duration::from_secs(300))
13321333
.header(header::AUTHORIZATION, &querier.token)
13331334
.header(header::CONTENT_TYPE, "application/json")
13341335
.body(body)

0 commit comments

Comments
 (0)