Skip to content

Commit

Permalink
Merge pull request #222 from FleekHQ/hotfix/make-backup-task-parallel
Browse files Browse the repository at this point in the history
Hotfix: make backup on task parallelizable
  • Loading branch information
jsonsivar authored Oct 26, 2020
2 parents bc28445 + 8bf8618 commit a98a1de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/textile/sync/synchronizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ func (s *synchronizer) NotifyBucketCreated(bucket string, enckey []byte) {

func (s *synchronizer) NotifyBucketBackupOn(bucket string) {
t := newTask(bucketBackupOnTask, []string{bucket})
t.Parallelizable = true
s.enqueueTask(t, s.taskQueue)

s.notifySyncNeeded()
Expand Down

0 comments on commit a98a1de

Please sign in to comment.