Skip to content

conf: start watching config on first conf call

Administrator requested to merge core/conf-init into master

Created by: keegancsmith

If you have conf as a transitive dependency we start up a goroutine watching config. This can lead random utilities we have failing, due to the default value for sourcegraph internal API address. We move to initializing on first use of conf protected by a sync.Once.

Merge request reports

Loading