Skip to content

Commit

Permalink
Added reconcileAge config.
Browse files Browse the repository at this point in the history
This is how long an object should be considered "reconciled" before
needing to actually have its hash verified.
  • Loading branch information
dustin committed Jun 17, 2013
1 parent 38903bb commit 9138307
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/config.go
Expand Up @@ -33,6 +33,8 @@ type CBFSConfig struct {
NodeCleanCount int `json:"cleanCount"`
// Reconciliation frequency
ReconcileFreq time.Duration `json:"reconcileFreq"`
// Reconciliation object age
ReconcileAge time.Duration `json:"reconcileAge"`
// Quick reconciliation frequency
QuickReconcileFreq time.Duration `json:"quickReconcileFreq"`
// How often to verify we have all the blobs for which we're registered
Expand Down Expand Up @@ -70,6 +72,7 @@ func DefaultConfig() CBFSConfig {
MaxReplicas: 5,
NodeCleanCount: 5000,
ReconcileFreq: time.Hour * 24 * 7,
ReconcileAge: time.Hour * 24 * 30,
QuickReconcileFreq: time.Hour * 27,
LocalValidationFreq: time.Hour * 31,
StaleNodeCheckFreq: time.Minute,
Expand Down

0 comments on commit 9138307

Please sign in to comment.