You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: add mutex protection to FieldTracker and feeder fieldTracker access
Introduce FieldTrackerHolder with RWMutex in the feeders package for
thread-safe get/set of the tracker reference on shared feeder instances.
Add sync.Mutex to DefaultFieldTracker in both packages to protect
FieldPopulations slice and logger from concurrent access.
This fixes data races when multiple goroutines initialize separate
applications that share the global ConfigFeeders slice.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
f.logger.Debug("EnvFeeder: Environment variable not found or empty for pointer field", "fieldName", fieldName, "searchKeys", searchKeys, "fieldPath", fieldPath)
0 commit comments