Skip to content

Commit

Permalink
Remove parallel file pinnings (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmerrill6 authored Oct 7, 2020
1 parent 4d3558c commit e4db554
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/textile/sync/task-executors.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ func (s *synchronizer) processAddItem(ctx context.Context, task *Task) error {
}

pft := newTask(pinFileTask, []string{bucket, path})
pft.Parallelizable = true
s.enqueueTask(pft, s.filePinningQueue)

s.notifySyncNeeded()
Expand All @@ -60,7 +59,6 @@ func (s *synchronizer) processRemoveItem(ctx context.Context, task *Task) error
path := task.Args[1]

uft := newTask(unpinFileTask, []string{bucket, path})
uft.Parallelizable = true
s.enqueueTask(uft, s.filePinningQueue)

s.notifySyncNeeded()
Expand Down

0 comments on commit e4db554

Please sign in to comment.