优化结构
This commit is contained in:
@@ -122,6 +122,8 @@ func (d *Data) removeIntegrationConfigFromFile() error {
|
||||
}
|
||||
|
||||
func (d *Data) reloadConfig(ctx context.Context) error {
|
||||
// Explicit reload is the lifecycle boundary that rebuilds database, cache,
|
||||
// Mongo, storage, and integration clients after a file snapshot change.
|
||||
d.configMu.Lock()
|
||||
defer d.configMu.Unlock()
|
||||
configPath := d.runtime.ConfigPath()
|
||||
|
||||
Reference in New Issue
Block a user