We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd93c8f commit 7af52e3Copy full SHA for 7af52e3
1 file changed
testkit-backend/backend.go
@@ -400,9 +400,8 @@ func (b *backend) handleRequest(req map[string]interface{}) {
400
if data["maxConnectionPoolSize"] != nil {
401
c.MaxConnectionPoolSize = int(data["maxConnectionPoolSize"].(float64))
402
}
403
- rawMaxTxRetryTime, found := data["maxTxRetryTimeMs"]
404
- if found {
405
- maxTxRetryTime := int(rawMaxTxRetryTime.(float64))
+ if data["maxTxRetryTimeMs"] != nil {
+ maxTxRetryTime := int(data["maxTxRetryTimeMs"].(float64))
406
c.MaxTransactionRetryTime = time.Millisecond * time.Duration(maxTxRetryTime)
407
408
if data["fetchSize"] != nil {
0 commit comments