Browse Source

Update ec_vacuum_task.go

add-ec-vacuum
chrislu 5 months ago
parent
commit
d341db8861
  1. 2
      weed/worker/tasks/ec_vacuum/ec_vacuum_task.go

2
weed/worker/tasks/ec_vacuum/ec_vacuum_task.go

@ -41,7 +41,7 @@ func NewEcVacuumTask(id string, volumeID uint32, collection string, sourceNodes
sourceNodes: sourceNodes, sourceNodes: sourceNodes,
sourceGeneration: sourceGeneration, // generation to vacuum from (G) sourceGeneration: sourceGeneration, // generation to vacuum from (G)
targetGeneration: sourceGeneration + 1, // generation to create (G+1) targetGeneration: sourceGeneration + 1, // generation to create (G+1)
cleanupGracePeriod: 5 * time.Minute, // default 5 minute grace period
cleanupGracePeriod: 5 * time.Minute, // default 5 minute grace period (configurable)
} }
} }

Loading…
Cancel
Save