From 09780381cc1b6368d973129f696b06264cc40a1f Mon Sep 17 00:00:00 2001 From: felipemadero Date: Mon, 25 Nov 2024 14:12:46 -0300 Subject: [PATCH] Increase fuji timeout (#2365) * increase fuji timeout to 15 minutes * add warning --- pkg/constants/constants.go | 2 +- pkg/node/local.go | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/constants/constants.go b/pkg/constants/constants.go index 6c6d65b73..7d2c4ba76 100644 --- a/pkg/constants/constants.go +++ b/pkg/constants/constants.go @@ -59,7 +59,7 @@ const ( APIRequestLargeTimeout = 10 * time.Second FastGRPCDialTimeout = 100 * time.Millisecond - FujiBootstrapTimeout = 5 * time.Minute + FujiBootstrapTimeout = 15 * time.Minute SSHServerStartTimeout = 1 * time.Minute SSHScriptTimeout = 2 * time.Minute diff --git a/pkg/node/local.go b/pkg/node/local.go index 49323fd68..2ac1069dd 100644 --- a/pkg/node/local.go +++ b/pkg/node/local.go @@ -308,6 +308,9 @@ func StartLocalNode( return err } } + if network.Kind == models.Fuji { + ux.Logger.PrintToUser(logging.Yellow.Wrap("Warning: Fuji Bootstrapping can take several minutes")) + } if err := preLocalChecks(anrSettings, avaGoVersionSetting, useEtnaDevnet, globalNetworkFlags); err != nil { return err }