diff --git a/pkg/cmd/datastore.go b/pkg/cmd/datastore.go index eb17f94de1..a162effd66 100644 --- a/pkg/cmd/datastore.go +++ b/pkg/cmd/datastore.go @@ -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 @@ -104,6 +105,7 @@ func NewDatastore(options ...Option) (datastore.Datastore, error) { } log.Info().Msgf("using %s datastore engine", opts.Engine) + log.Info().Msgf("datastore options: %#v", opts) return dsBuilder(opts) }