From 8c2d5dca4625b78c0c95901bd38fbf1c059e5f4c Mon Sep 17 00:00:00 2001 From: monosans Date: Mon, 24 Nov 2025 16:55:12 +0300 Subject: [PATCH] fix: don't set request timeout for ipdb --- src/ipdb.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ipdb.rs b/src/ipdb.rs index 083fc54..b2ced70 100644 --- a/src/ipdb.rs +++ b/src/ipdb.rs @@ -1,4 +1,4 @@ -use std::{io, path::PathBuf}; +use std::{io, path::PathBuf, time::Duration}; use color_eyre::eyre::{WrapErr as _, eyre}; use tokio::io::AsyncWriteExt as _; @@ -126,6 +126,7 @@ impl DbType { let response = http_client .get(self.url()) .headers(headers) + .timeout(Duration::MAX) .send() .await? .error_for_status()?;