Skip to content

Make gitaly supervisor configuration local

Pavlo Strokov requested to merge ps-supervisor-config into master

Supervisor for the gitaly-ruby sidecar uses a package global variable to store configuration. That causes issues in testing as it produces a race conditions some times. The global variables is an evil and we try to get rid of them. That change removes the global variable and adds a constructor for the Config type. Each test now uses a locally defined config variable and there is no races on the global variable anymore.

Closes: #3651 (closed)

Merge request reports

Loading