mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-07-01 09:37:48 +00:00
c63324756b
Make sure pathCache is properly locked for concurrent access. Add RWMutex to the PublishedStorage struct: - Cache initialization Read-lock to test for nil, then write-lock with a second nil check before populating - Cache reads RLock/RUnlock, allowing concurrent readers - Cache writes / deletes Lock/Unlock