Skip to content

Conversation

@carlhus
Copy link

@carlhus carlhus commented Jan 11, 2026

Description

  • Protected shared global state with RWMutex to prevent data races

Note

Protected shared global state with RWMutex to prevent data races.
Comment on lines +77 to +79
factory.NssfConfig.Lock()
factory.NssfConfig.Subscriptions = append(factory.NssfConfig.Subscriptions, subscription)
factory.NssfConfig.Unlock()
Copy link

@c9274326 c9274326 Jan 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like internal/sbi/processor/nssaiavailability_subscription.go:29-30 have done this lock logic?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants