mirror of
https://github.com/truewhile/MeBox.git
synced 2026-10-05 04:56:37 +08:00
优化,排查项目问题
This commit is contained in:
@@ -28,6 +28,8 @@ func ApplyRuntimeSettings(ctx context.Context, cfg *config.Config, repos *reposi
|
||||
}
|
||||
|
||||
func ApplyRuntimeSetting(cfg *config.Config, key, value string) {
|
||||
config.RuntimeMu.Lock()
|
||||
defer config.RuntimeMu.Unlock()
|
||||
if cfg == nil {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user