xxx
This commit is contained in:
+1
-1
@@ -679,7 +679,7 @@ func runWorker(ws []WorkerConfig, collectorURL string) int {
|
||||
func buildWorkers(ws []WorkerConfig, cc *chaosCtx) []*worker {
|
||||
workers := make([]*worker, 0, len(ws))
|
||||
for _, wc := range ws {
|
||||
opts := optionsFromConn(wc.Host, wc.Port, wc.Password, wc.DB, wc.TLS)
|
||||
opts := optionsFromConn(wc.Host, wc.Port, wc.Password, wc.DB, wc.TLS, "")
|
||||
w := &worker{cfg: wc, rdb: redis.NewClient(opts), cc: cc}
|
||||
if wc.Role == "bloater" && wc.ValueBytes > 0 {
|
||||
w.bloatBuf = make([]byte, wc.ValueBytes)
|
||||
|
||||
Reference in New Issue
Block a user