Skip to content

Commit b6d80cc

Browse files
authored
Merge pull request #114 from arangodb/choas-monkey-de-blocker
Run chaos-monkey in go-routine to avoid blocking the operator
2 parents c9f86f3 + 83efec9 commit b6d80cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/deployment/deployment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ func New(config Config, deps Dependencies, apiObject *api.ArangoDeployment) (*De
137137
}
138138
if config.AllowChaos {
139139
d.chaosMonkey = chaos.NewMonkey(deps.Log, d)
140-
d.chaosMonkey.Run(d.stopCh)
140+
go d.chaosMonkey.Run(d.stopCh)
141141
}
142142

143143
return d, nil

0 commit comments

Comments
 (0)