mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-21 11:27:43 +00:00
increase prefetch
This commit is contained in:
parent
ebf6ac47bb
commit
447a21ba60
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ func (nw *notificationsWorker) Start() error {
|
|||
|
||||
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue