Skip to content

Commit

Permalink
Merge pull request #334 from ecordell/fix-max-lifetime
Browse files Browse the repository at this point in the history
fix: copy max lifetime when passing options to the datastore
  • Loading branch information
ecordell committed Dec 10, 2021
2 parents 46fe9d1 + e1186c1 commit 3c0af08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/cmd/datastore.go
Expand Up @@ -56,6 +56,7 @@ func (o *DatastoreConfig) ToOption() Option {
to.URI = o.URI
to.GCWindow = o.GCWindow
to.RevisionQuantization = o.RevisionQuantization
to.MaxLifetime = o.MaxLifetime
to.MaxIdleTime = o.MaxIdleTime
to.MaxOpenConns = o.MaxOpenConns
to.MinOpenConns = o.MinOpenConns
Expand Down

0 comments on commit 3c0af08

Please sign in to comment.