summaryrefslogtreecommitdiffstats
path: root/feed/feed_test.go
diff options
context:
space:
mode:
authorsiddharth ravikumar <s@ricketyspace.net>2022-12-25 12:20:17 -0500
committersiddharth ravikumar <s@ricketyspace.net>2022-12-25 12:20:17 -0500
commit0aee714f3941173893b42c5f0880b7cb6b592548 (patch)
treefb249748164e54b42290c5747ef9d48f27758e48 /feed/feed_test.go
parentb64cce52d9011d9c85bc68041e998f2a0c513867 (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/feed_test.go')
0 files changed, 0 insertions, 0 deletions