From 82f052a8f25774ee5dc337a8cdafad1d0064b1b8 Mon Sep 17 00:00:00 2001 From: DxFFFFFF Date: Wed, 11 Oct 2023 16:11:35 +0200 Subject: [PATCH] feat(ZGT): upgrade timeout to 500ms (#128) --- client/authorship/src/authorship.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/authorship/src/authorship.rs b/client/authorship/src/authorship.rs index c2c16c8f..6af44198 100644 --- a/client/authorship/src/authorship.rs +++ b/client/authorship/src/authorship.rs @@ -439,7 +439,7 @@ where let http_client = reqwest::Client::new(); let mut request = Box::pin(http_client.post(zero_gas_tx_pool).send().fuse()); - let mut timeout = Box::pin(futures_timer::Delay::new(std::time::Duration::from_millis(100)).fuse()); + let mut timeout = Box::pin(futures_timer::Delay::new(std::time::Duration::from_millis(500)).fuse()); let result_response_raw_zero = select! {