mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 20:34:19 +00:00
Addresses PR #82 review: read-only handlers accessed s.cfg without synchronization, risking data races with concurrent config reloads. - Upgrade sync.Mutex → sync.RWMutex (drop-in compatible) - Add RLock to 26 non-streaming read handlers - Keep exclusive Lock for write handlers (unchanged) - Skip SSE streaming handlers to avoid blocking writes during streams - Fix isConfigGitignored to propagate GitignoreContains errors