this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix RWLock usage

authored by

Brian Olson and committed by
Brian Olson
5a7d037e ff209b56

+2 -2
+2 -2
indexer/repofetch.go
··· 50 50 } 51 51 52 52 func (rf *RepoFetcher) GetOrCreateLimiter(pdsID uint, pdsrate float64) *rate.Limiter { 53 - rf.LimitMux.RLock() 54 - defer rf.LimitMux.RUnlock() 53 + rf.LimitMux.Lock() 54 + defer rf.LimitMux.Unlock() 55 55 56 56 lim, ok := rf.Limiters[pdsID] 57 57 if !ok {