Skip to content

Commit

Permalink
review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
priyanshi-yb committed Jan 17, 2025
1 parent 00ada30 commit b54c79a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions yb-voyager/src/tgtdb/yugabytedb.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,12 +243,7 @@ func (yb *TargetYugabyteDB) InitConnPool() error {
SessionInitScript: getYBSessionInitScript(yb.tconf),
}
yb.connPool = NewConnectionPool(params)
redactedParams := ConnectionParams{
NumConnections: yb.tconf.Parallelism,
NumMaxConnections: yb.tconf.MaxParallelism,
ConnUriList: utils.GetRedactedURLs(targetUriList),
SessionInitScript: getYBSessionInitScript(yb.tconf),
}
redactedParams := *params
log.Info("Initialized connection pool with settings: ", spew.Sdump(redactedParams))
return nil
}
Expand Down

0 comments on commit b54c79a

Please sign in to comment.