This commit is contained in:
2026-06-18 15:47:42 +02:00
parent 6a43ba022c
commit b27c6d3a73
2 changed files with 18 additions and 10 deletions
+1 -1
View File
@@ -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)