move constant

pull/1902/head
Cory LaNou 2015-03-10 12:24:26 -06:00
parent 5455a31430
commit db067b6a2d
2 changed files with 3 additions and 4 deletions

View File

@ -10,10 +10,6 @@ import (
"github.com/influxdb/influxdb/client"
)
const (
retentionPolicyMinDuration = time.Hour
)
var (
// ErrServerOpen is returned when opening an already open server.
ErrServerOpen = errors.New("server already open")

View File

@ -43,6 +43,9 @@ const (
// DefaultShardRetention is the length of time before a shard is dropped.
DefaultShardRetention = 7 * (24 * time.Hour)
// Defines the minimum duration allowed for all retention policies
retentionPolicyMinDuration = time.Hour
)
// Server represents a collection of metadata and raw metric data.