From 21a9f4362c4008320dc9e2324a837e3bd18be3da Mon Sep 17 00:00:00 2001 From: Jernej Kos Date: Mon, 13 Nov 2023 18:08:45 +0100 Subject: [PATCH] go/runtime/host/sgx: Increase RAK initialization timeout --- go/runtime/host/sgx/sgx.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/go/runtime/host/sgx/sgx.go b/go/runtime/host/sgx/sgx.go index 5e15158ed58..be04cd5bd8b 100644 --- a/go/runtime/host/sgx/sgx.go +++ b/go/runtime/host/sgx/sgx.go @@ -41,9 +41,10 @@ const ( // Runtime RAK initialization timeout. // - // This can take a long time in deployments that run multiple - // nodes on a single machine, all sharing the same EPC. - runtimeRAKTimeout = 60 * time.Second + // This can take a long time in deployments that run multiple nodes on a single machine, all + // sharing the same EPC. Additionally, this includes time to do the initial consensus light + // client sync and freshness verification which can take some time. + runtimeRAKTimeout = 5 * time.Minute // Runtime attest interval. defaultRuntimeAttestInterval = 2 * time.Hour )