mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 17:15:56 +00:00
Reduce snapshot verbosity
This commit is contained in:
parent
eceef6b42b
commit
857ddf73c2
1 changed files with 1 additions and 1 deletions
|
|
@ -2248,7 +2248,7 @@ func (f *fragment) Snapshot() error {
|
|||
|
||||
func track(start time.Time, message string, stats stats.StatsClient, logger logger.Logger) {
|
||||
elapsed := time.Since(start)
|
||||
logger.Printf("%s took %s", message, elapsed)
|
||||
logger.Debugf("%s took %s", message, elapsed)
|
||||
stats.Histogram("snapshot", elapsed.Seconds(), 1.0)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue