Skip to content

Protect storages config field with mutex

John Cai requested to merge jc-protect-storages into master

Our tests are brittle in that we have several places that modify config.Config.Storages as we use it as a singleton. I added a mutex to protect access. Not the greatest solution, since we never modify that value in production but only in tests. Better suggestions welcome!

Fixes #1872 (closed)

Edited by Jacob Vosmaer

Merge request reports