mirror of
https://github.com/zrepl/zrepl.git
synced 2025-01-05 22:08:53 +01:00
replication/driver: envconst for experimental parallel replication
refs #140 refs #302
This commit is contained in:
parent
d52acfe10b
commit
afab031b7d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user