Skip to content

Commit

Permalink
reduce maxDurationQuery to 20ms (#522)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmank88 committed Jun 12, 2023
1 parent c058f7c commit 369bfb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integration-tests/common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ func OffChainConfigParamsFromNodes(nodes []*client.Chainlink, nkb []client.NodeK
AlphaReportPPB: uint64(0),
AlphaAcceptPPB: uint64(0),
}.Encode(),
MaxDurationQuery: 100 * time.Millisecond,
MaxDurationQuery: 20 * time.Millisecond,
MaxDurationObservation: 500 * time.Millisecond,
MaxDurationReport: 500 * time.Millisecond,
MaxDurationShouldAcceptFinalizedReport: 500 * time.Millisecond,
Expand Down
2 changes: 1 addition & 1 deletion ops/solana/solana.go
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ func (d Deployer) InitOCR(keys []opsChainlink.NodeKeys) error {
"alphaAcceptPpb": uint64(0), // accept all reports (if deviation matches number)
"deltaCNanoseconds": 0 * time.Second, // heartbeat
},
"maxDurationQueryNanoseconds": 300 * time.Millisecond,
"maxDurationQueryNanoseconds": 20 * time.Millisecond,
"maxDurationObservationNanoseconds": 300 * time.Millisecond,
"maxDurationReportNanoseconds": 300 * time.Millisecond,
"maxDurationShouldAcceptFinalizedReportNanoseconds": 1 * time.Second,
Expand Down

0 comments on commit 369bfb5

Please sign in to comment.