Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Commit

Permalink
update log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-milan committed Jan 14, 2020
1 parent 9125bfa commit 4fb852f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion idx/cassandra/cassandra.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ func (c *CasIdx) Init() error {
}

if c.Config.ConnectionCheckInterval > 0 {
log.Infof("cassandra-idx: dead connection check enabled with an interval of %v", c.Config.ConnectionCheckInterval)
log.Infof("cassandra-idx: dead connection check enabled with an interval of %s", c.Config.ConnectionCheckInterval.String())
c.wg.Add(1)
go c.Session.DeadConnectionCheck(&c.wg)
}
Expand Down
2 changes: 1 addition & 1 deletion store/cassandra/cassandra.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ func NewCassandraStore(config *StoreConfig, ttls []uint32) (*CassandraStore, err
}

if config.ConnectionCheckInterval > 0 {
log.Infof("cassandra_store: dead connection check enabled with an interval of %v", config.ConnectionCheckInterval)
log.Infof("cassandra_store: dead connection check enabled with an interval of %s", config.ConnectionCheckInterval.String())
c.wg.Add(1)
go c.Session.DeadConnectionCheck(&c.wg)
}
Expand Down

0 comments on commit 4fb852f

Please sign in to comment.