Skip to content

Commit

Permalink
added PositioningATXSelectionTimeout to test env
Browse files Browse the repository at this point in the history
  • Loading branch information
ConvallariaMaj committed Jul 17, 2024
1 parent fcd2ab1 commit eb4e623
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion config/presets/fastnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion config/presets/standalone.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 7 additions & 6 deletions config/presets/testnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit eb4e623

Please sign in to comment.