Set the retention policy on the store

pull/5736/head
Edd Robinson 2016-02-17 14:06:04 +00:00
parent 2894234b1e
commit 08ca148724
1 changed files with 7 additions and 6 deletions

View File

@ -76,6 +76,7 @@ func New(c Config) *Monitor {
storeEnabled: c.StoreEnabled,
storeDatabase: c.StoreDatabase,
storeInterval: time.Duration(c.StoreInterval),
storeRetentionPolicy: MonitorRetentionPolicy,
Logger: log.New(os.Stderr, "[monitor] ", log.LstdFlags),
}
}