# E-mails to be sent per hour setting

**URL:** https://meta.discourse.org/t/e-mails-to-be-sent-per-hour-setting/174586
**Category:** Support
**Created:** [December 30, 2020, 10:55am UTC](https://meta.discourse.org/t/e-mails-to-be-sent-per-hour-setting/174586 "2020-12-30T10:55:43Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ozkn](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ozkn/32/196013_2.png) [@ozkn](https://meta.discourse.org/u/ozkn)
#### Post date: [December 30, 2020, 10:55am UTC](https://meta.discourse.org/t/e-mails-to-be-sent-per-hour-setting/174586/1 "2020-12-30T10:55:43Z")

</div>

e-mails to be sent per hour setting. This setting will be useful for forums with a large number of users.

---

<div class="post-metadata">

### Author: ![Jonathan5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathan5/32/197134_2.png) [@Jonathan5](https://meta.discourse.org/u/Jonathan5)
#### Post date: [December 30, 2020, 11:12am UTC](https://meta.discourse.org/t/e-mails-to-be-sent-per-hour-setting/174586/2 "2020-12-30T11:12:25Z")

</div>

Here is a post about this: [How to set Email sending speed limit? - #2 by pfaffman](https://meta.discourse.org/t/how-to-set-email-sending-speed-limit/140974/2)

There was a recent topic that I can’t find now in which someone had found a partial solution by editing the core code.

---

<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: [December 30, 2020, 11:18am UTC](https://meta.discourse.org/t/e-mails-to-be-sent-per-hour-setting/174586/3 "2020-12-30T11:18:26Z")

</div>

> [@ozkn](#):
>
> e-mails to be sent per hour setting. This setting will be useful for forums with a large number of users.

There is already a global variable which specifies the number of digests to send (rate limit) per 30 minutes.

Are you talking about digests?

If so, you can set:

```ruby
GlobalSetting.max_digests_enqueued_per_30_mins_per_site

```

For per hour, just divide your per hour rate by two and set the global above (for digests) 🙂

See Also:

[How to set Email sending speed limit? - #10 by neounix](https://meta.discourse.org/t/how-to-set-email-sending-speed-limit/140974/10)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [January 2, 2021, 10:16am UTC](https://meta.discourse.org/t/e-mails-to-be-sent-per-hour-setting/174586/4 "2021-01-02T10:16:50Z")

</div>


