From eb4e6230007b877ee5d25d977cc2534239ae6a7b Mon Sep 17 00:00:00 2001 From: ConvallariaMaj Date: Wed, 17 Jul 2024 16:19:40 +0200 Subject: [PATCH] added PositioningATXSelectionTimeout to test env --- config/presets/fastnet.go | 2 +- config/presets/standalone.go | 2 +- config/presets/testnet.go | 13 +++++++------ 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/config/presets/fastnet.go b/config/presets/fastnet.go index 6ea5ee5fe4..ac3373fe86 100644 --- a/config/presets/fastnet.go +++ b/config/presets/fastnet.go @@ -94,7 +94,7 @@ func fastnet() config.Config { conf.POET.GracePeriod = 10 * time.Second conf.POET.CycleGap = 30 * time.Second conf.POET.PhaseShift = 30 * time.Second - conf.POET.PositioningATXSelectionTimeout = 25 * time.Second + conf.POET.PositioningATXSelectionTimeout = 8 * time.Second // RequestTimeout = RequestRetryDelay * 2 * MaxRequestRetries*(MaxRequestRetries+1)/2 conf.POET.RequestTimeout = 12 * time.Second conf.POET.RequestRetryDelay = 1 * time.Second diff --git a/config/presets/standalone.go b/config/presets/standalone.go index af622b7715..d293690a2e 100644 --- a/config/presets/standalone.go +++ b/config/presets/standalone.go @@ -80,7 +80,7 @@ func standalone() config.Config { conf.POET.GracePeriod = 12 * time.Second conf.POET.CycleGap = 30 * time.Second conf.POET.PhaseShift = 30 * time.Second - conf.POET.PositioningATXSelectionTimeout = 25 * time.Second + conf.POET.PositioningATXSelectionTimeout = 8 * time.Second // RequestTimeout = RequestRetryDelay * 2 * MaxRequestRetries*(MaxRequestRetries+1)/2 conf.POET.RequestTimeout = 12 * time.Second conf.POET.RequestRetryDelay = 1 * time.Second diff --git a/config/presets/testnet.go b/config/presets/testnet.go index 4ce4606886..f081c47a43 100644 --- a/config/presets/testnet.go +++ b/config/presets/testnet.go @@ -113,12 +113,13 @@ func testnet() config.Config { }, POET: activation.PoetConfig{ // RequestTimeout = RequestRetryDelay * 2 * MaxRequestRetries*(MaxRequestRetries+1)/2 - RequestTimeout: 550 * time.Second, - RequestRetryDelay: 5 * time.Second, - MaxRequestRetries: 10, - PhaseShift: 12 * time.Hour, - CycleGap: 2 * time.Hour, - GracePeriod: 10 * time.Minute, + RequestTimeout: 550 * time.Second, + RequestRetryDelay: 5 * time.Second, + MaxRequestRetries: 10, + PositioningATXSelectionTimeout: 8 * time.Minute, + PhaseShift: 12 * time.Hour, + CycleGap: 2 * time.Hour, + GracePeriod: 10 * time.Minute, }, POST: activation.PostConfig{ MinNumUnits: 2,