increase prefetch

This commit is contained in:
Andre Medeiros 2022-11-05 20:31:55 -04:00
parent ebf6ac47bb
commit 447a21ba60

View file

@ -101,7 +101,7 @@ func (nw *notificationsWorker) Start() error {
nw.logger.Info("starting up notifications worker", zap.Int("consumers", nw.consumers)) nw.logger.Info("starting up notifications worker", zap.Int("consumers", nw.consumers))
if err := queue.StartConsuming(int64(nw.consumers/4), pollDuration); err != nil { if err := queue.StartConsuming(int64(nw.consumers*2), pollDuration); err != nil {
return err return err
} }