this repo has no description
0
fork

Configure Feed

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

review fix

authored by

Brian Olson and committed by
Brian Olson
98159ad5 f664d91e

+3 -3
+3 -3
bgs/compactor.go
··· 216 216 if i%2 != 0 { 217 217 strategy = NextRandom 218 218 } 219 - go c.doWork(bgs, &c.wg, strategy) 219 + go c.doWork(bgs, strategy) 220 220 } 221 221 if c.requeueInterval > 0 { 222 222 go func() { ··· 253 253 log.Info("compactor stopped") 254 254 } 255 255 256 - func (c *Compactor) doWork(bgs *BGS, wg *sync.WaitGroup, strategy NextStrategy) { 257 - defer wg.Done() 256 + func (c *Compactor) doWork(bgs *BGS, strategy NextStrategy) { 257 + defer c.wg.Done() 258 258 for { 259 259 select { 260 260 case <-c.exit: