mirror of
https://github.com/christianselig/apollo-backend
synced 2024-12-22 22:35:27 +00:00
don't prefetch as much
This commit is contained in:
parent
2a98be36ae
commit
b98f8345a5
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ func (nw *notificationsWorker) Start(consumers int) error {
|
|||
"numConsumers": consumers,
|
||||
}).Info("starting up notifications worker")
|
||||
|
||||
prefetchLimit := int64(consumers * 8)
|
||||
prefetchLimit := int64(consumers * 2)
|
||||
|
||||
if err := queue.StartConsuming(prefetchLimit, pollDuration); err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in a new issue