# Email Send Queue issue

**URL:** https://forum.mautic.org/t/email-send-queue-issue/18800
**Category:** General Discussion
**Created:** [March 31, 2021, 6:31pm UTC](https://forum.mautic.org/t/email-send-queue-issue/18800 "2021-03-31T18:31:04Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![pwned555](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/pwned555/32/3848_2.png) [@pwned555](https://forum.mautic.org/u/pwned555)
#### Post date: [April 5, 2021, 4:38pm UTC](https://forum.mautic.org/t/email-send-queue-issue/18800/3 "2021-04-05T16:38:04Z")

</div>

Thanks, I also found your post here which is very helpful  
([Mautic Command Options and Arguments](https://forum.mautic.org/t/mautic-command-options-and-arguments/18638))

This should help with my trigger I will look at updating this, I was wondering if maybe [BATCH-LIMIT] doesn’t work as I expected as well?

These were some of the notes for mautic:segments:update in the link above.  
-b, --batch-limit[=BATCH-LIMIT]  
Set batch size of contacts to process per round. Defaults to 300. [default: 300]  
-m, --max-contacts[=MAX-CONTACTS]  
Set max number of contacts to process per segment for this script execution. Defaults to all. [default: false]

However when the above runs mautic:segments:update --batch-limit=900 it adds all 8k contacts to my segment in the first run. If I were to only want to add 900 at a time would I have the user the MAX-CONTACTS instead? If so do you have a better idea of exactly what ‘Set batch size of contacts to process per round.’ this pertains to?

As a note, I did update to --max-contacts=900 and it works as expected. This makes me think I’m misunderstanding batch-limit. Does it basically loop through and process x number at a time however if the max-contacts isn’t set it will process them all?

So say I wanted to process 100 at a time, but process 300 total for a run I would set --batch-limit=100 --max-contacts=300. What is the advantage of this, just that processing 100 at a time and 300 total causes less of a spike?

---

_[View the full topic](https://forum.mautic.org/t/email-send-queue-issue/18800)._
