Skip to content
Browse files

Added reconcileAge config.

This is how long an object should be considered "reconciled" before
needing to actually have its hash verified.
  • Loading branch information...
1 parent 38903bb commit 9138307896e3ae7b496223f0b887a3165f7ff434 @dustin dustin committed Jun 17, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 config/config.go
View
3 config/config.go
@@ -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
@@ -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,

0 comments on commit 9138307

Please sign in to comment.
Something went wrong with that request. Please try again.