Skip to content

Commit 535bd19

Browse files
committed
test
1 parent fa16540 commit 535bd19

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/watcher/watcher_plugin.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ func (w *Watcher) handleConfigApplySuccess(ctx context.Context, msg *bus.Message
170170

171171
slog.Info("handleConfigApplySuccess start")
172172
w.watcherMutex.Lock()
173-
defer w.watcherMutex.Unlock()
173+
// defer w.watcherMutex.Unlock()
174174
w.instancesWithConfigApplyInProgress = slices.DeleteFunc(
175175
w.instancesWithConfigApplyInProgress,
176176
func(element string) bool {
@@ -179,6 +179,7 @@ func (w *Watcher) handleConfigApplySuccess(ctx context.Context, msg *bus.Message
179179
)
180180
w.fileWatcherService.SetEnabled(true)
181181

182+
w.watcherMutex.Unlock()
182183
w.instanceWatcherService.ReparseConfig(ctx, instanceID)
183184
slog.Info("handleConfigApplySuccess done")
184185
}

0 commit comments

Comments
 (0)