Files
skillshare/cmd/skillshare
Willie 11f696cffe fix(server): upgrade Mutex to RWMutex for concurrent read safety
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
2026-03-17 04:48:42 +08:00
..
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00
2026-03-12 23:22:35 +08:00
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00