Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
amend! Make common.UserConfig an atomic.Value for safe concurrent access
Make common.UserConfig an atomic.Pointer for safe concurrent access Currently, userConfig is only read once at startup and then never changes. Later in this branch, we will add the possibility to reload the user config; this can happen either when switching repositories, or when the user has edited the config file. In both cases, reloading happens on the main thread, but the user config could be accessed concurrently from background threads, so we need to make this safe.
- Loading branch information