Skip to content

Commit a1ee011

Browse files
committed
fix: disable dedupe task generators
1 parent 64a5305 commit a1ee011

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/api/controller.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ func (c *Controller) StartBackgroundTasks() {
491491
}
492492

493493
// Enable running dedupe blobs both ways (dedupe or restore deduped blobs)
494-
c.StoreController.DefaultStore.RunDedupeBlobs(time.Duration(0), c.taskScheduler)
494+
// c.StoreController.DefaultStore.RunDedupeBlobs(time.Duration(0), c.taskScheduler)
495495

496496
// Enable extensions if extension config is provided for DefaultStore
497497
if c.Config != nil && c.Config.Extensions != nil {
@@ -524,7 +524,7 @@ func (c *Controller) StartBackgroundTasks() {
524524
// Enable running dedupe blobs both ways (dedupe or restore deduped blobs) for subpaths
525525
substore := c.StoreController.SubStore[route]
526526
if substore != nil {
527-
substore.RunDedupeBlobs(time.Duration(0), c.taskScheduler)
527+
//substore.RunDedupeBlobs(time.Duration(0), c.taskScheduler)
528528

529529
if c.Config.IsMetricsEnabled() && c.Config.Storage.StorageDriver == nil {
530530
substore.PopulateStorageMetrics(time.Duration(0), c.taskScheduler)

0 commit comments

Comments
 (0)