# סיכום מגבלת דוא"ל שנשלח בשעה

**URL:** <https://meta.discourse.org/t/summary-email-limit-sent-in-1-hour/172402>\
**Category:** Product Support\
**Created:** [6 בדצמבר,‏ 2020,‏ 2:22pm UTC](https://meta.discourse.org/t/summary-email-limit-sent-in-1-hour/172402 "2020-12-06T14:22:36Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![neounix](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neounix/32/215617_2.png) [@neounix](https://meta.discourse.org/u/neounix)\
**Post date:** [8 בדצמבר,‏ 2020,‏ 12:49am UTC](https://meta.discourse.org/t/summary-email-limit-sent-in-1-hour/172402/5 "2020-12-08T00:49:35Z")

</div>

> [@ozkn](#):
>
> Is the limit of the number of summary e-mails that can be sent up to 1 hour adjustable.  
> (sorry for bad english)

Yes, this is currently easily set for digest emails using a Discourse global setting, for example to set your digests limit to 40 per hour you can set this in your container build file:

```plaintext
 DISCOURSE_MAX_DIGESTS_ENQUEUED_PER_30_MINS_PER_SITE: 20

```

This Discourse global setting for digests defaults to 10,000 every 30 minutes, and if you have a huge number of users, this can send out a lot of digests.

On our site, we use SendGrid (a paid plan) to send out 100,000 digests a month, plus or minus, so we set this to:

100,000 divided by 30 days per month divided by 24 hours a day divided by 2 per hour, so roughly: 60 digests per 30 minutes and it has been working smoothly.

See also:

> <https://github.com/discourse/discourse/blob/main/app/jobs/scheduled/enqueue_digest_emails.rb#L37>

Note: This requires a container rebuild / bootstrap so please consider this before making the change.

---

_[View the full topic](https://meta.discourse.org/t/summary-email-limit-sent-in-1-hour/172402)._
