From 5afbedbd87c7df16e1bad94eea672765b7c3d3b6 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Sat, 8 Jul 2017 16:29:04 +0200 Subject: [PATCH] Shrink the 'monthly' interval from 32 weeks to 32 days --- cmd/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/config.go b/cmd/config.go index de11ee1..d01f8f9 100644 --- a/cmd/config.go +++ b/cmd/config.go @@ -598,7 +598,7 @@ func parseRetentionGridIntervalString(e string) (intervals []RetentionInterval, case "w": durationUnit = 24 * 7 * time.Hour case "mon": - durationUnit = 32 * 24 * 7 * time.Hour + durationUnit = 24 * 32 * time.Hour default: err = fmt.Errorf("contains unknown time unit '%s'", comps[3]) return nil, err