Skip to content

Commit

Permalink
fix: copy max lifetime when passing options to the datastore
Browse files Browse the repository at this point in the history
  • Loading branch information
ecordell committed Dec 10, 2021
1 parent 46fe9d1 commit e1186c1
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 e1186c1

Please sign in to comment.