diff --git a/replication/driver/replication_driver.go b/replication/driver/replication_driver.go index 02450a3..6069d98 100644 --- a/replication/driver/replication_driver.go +++ b/replication/driver/replication_driver.go @@ -355,7 +355,7 @@ func (a *attempt) do(ctx context.Context, prev *attempt) { // invariant: prevs contains an entry for each unambiguous correspondence stepQueue := newStepQueue() - defer stepQueue.Start(1)() // TODO parallel replication + defer stepQueue.Start(envconst.Int("ZREPL_REPLICATION_EXPERIMENTAL_REPLICATION_CONCURRENCY", 1))() // TODO parallel replication var fssesDone sync.WaitGroup for _, f := range a.fss { fssesDone.Add(1)