mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-25 05:07:43 +00:00
higher prefetch
This commit is contained in:
parent
071b0db010
commit
624cebf8ef
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ func (nw *notificationsWorker) Start() error {
|
|||
|
||||
nw.logger.Info("starting up notifications worker", zap.Int("consumers", nw.consumers))
|
||||
|
||||
prefetchLimit := int64(nw.consumers * 2)
|
||||
prefetchLimit := int64(nw.consumers * 10)
|
||||
|
||||
if err := queue.StartConsuming(prefetchLimit, pollDuration); err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in a new issue