From a3d57b390e8d11c33ee053df61b9773c07fe793b Mon Sep 17 00:00:00 2001 From: Xiangyi Zheng Date: Wed, 27 Mar 2024 11:34:41 -0700 Subject: [PATCH] modify default timeout for triple --- node/src/types.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/node/src/types.rs b/node/src/types.rs index 5b9237707..5bdf6e43e 100644 --- a/node/src/types.rs +++ b/node/src/types.rs @@ -13,10 +13,10 @@ use crate::gcp::value::{FromValue, IntoValue, Value}; use crate::gcp::{DatastoreResult, GcpService, KeyKind}; use crate::protocol::contract::ResharingContractState; -/// Default timeout for triple/presig generation protocols. Times out after 10 minutes of being alive. -pub const PROTOCOL_TRIPLE_TIMEOUT: Duration = Duration::from_secs(10 * 60); +/// Default timeout for presig generation protocols. Times out after 20 minutes of being alive. +pub const PROTOCOL_TRIPLE_TIMEOUT: Duration = Duration::from_secs(20 * 60); -/// Default timeout for triple/presig generation protocols. Times out after 1 minute of being alive since this should be shorted lived. +/// Default timeout for presig generation protocols. Times out after 1 minute of being alive since this should be shorted lived. pub const PROTOCOL_PRESIG_TIMEOUT: Duration = Duration::from_secs(60); /// Default timeout for signature generation protocol. Times out after 1 minute of being alive since this should be shorted lived.