diff options
author | siddharth ravikumar <s@ricketyspace.net> | 2022-12-25 12:20:17 -0500 |
---|---|---|
committer | siddharth ravikumar <s@ricketyspace.net> | 2022-12-25 12:20:17 -0500 |
commit | 0aee714f3941173893b42c5f0880b7cb6b592548 (patch) | |
tree | fb249748164e54b42290c5747ef9d48f27758e48 /feed/testdata | |
parent | b64cce52d9011d9c85bc68041e998f2a0c513867 (diff) |
db: fix data race
- Use a sync.RWMutex for mutex locks.
- Use sync.RWMutex.RLock when reading from the downloaded map.
- Use sync.RWMutex.Lock when writing to the downloaded map.
Diffstat (limited to 'feed/testdata')
0 files changed, 0 insertions, 0 deletions