Skip to content

Commit

Permalink
Merge pull request #114 from arangodb/choas-monkey-de-blocker
Browse files Browse the repository at this point in the history
Run chaos-monkey in go-routine to avoid blocking the operator
  • Loading branch information
ewoutp authored Apr 5, 2018
2 parents c9f86f3 + 83efec9 commit b6d80cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/deployment/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func New(config Config, deps Dependencies, apiObject *api.ArangoDeployment) (*De
}
if config.AllowChaos {
d.chaosMonkey = chaos.NewMonkey(deps.Log, d)
d.chaosMonkey.Run(d.stopCh)
go d.chaosMonkey.Run(d.stopCh)
}

return d, nil
Expand Down

0 comments on commit b6d80cc

Please sign in to comment.