Merge pull request #71 from zhklcf/fix_SourceAddress_bug

fix(sync.go):fix wg.Add SourceAddress bug
v4
Vinllen Chen 6 years ago committed by GitHub
commit dc915664f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/redis-shake/sync.go

@ -95,7 +95,7 @@ func (cmd *CmdSync) Main() {
}
var wg sync.WaitGroup
wg.Add(len(conf.Options.SourceAddress))
wg.Add(len(conf.Options.SourceAddressList))
for i := 0; i < int(conf.Options.SourceParallel); i++ {
go func() {

Loading…
Cancel
Save