Add shard duration

pull/743/head
Paul Dix 2014-07-09 22:35:16 -04:00
parent 91c6ca30ce
commit c03dbae65e
1 changed files with 1 additions and 0 deletions

View File

@ -495,6 +495,7 @@ type ShardSpace struct {
Regex string Regex string
// a duration (24h, 365d) this is optional, if they don't set it, it will default to the storage.dir in the config // a duration (24h, 365d) this is optional, if they don't set it, it will default to the storage.dir in the config
RetentionPolicy string RetentionPolicy string
ShardDuration string
Shards []Shard `json:"-"` Shards []Shard `json:"-"`
} }