# Optimize Discourse digest period

**URL:** <https://meta.discourse.org/t/optimize-discourse-digest-period/145036>\
**Category:** Product Support\
**Tags:** activity-summary\
**Created:** [March 21, 2020, 11:54am UTC](https://meta.discourse.org/t/optimize-discourse-digest-period/145036 "2020-03-21T11:54:30Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![ikravets](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ikravets/32/173675_2.png) [@ikravets](https://meta.discourse.org/u/ikravets)\
**Post date:** [March 21, 2020, 11:54am UTC](https://meta.discourse.org/t/optimize-discourse-digest-period/145036/1 "2020-03-21T11:54:30Z")

</div>

Hi all,

Is it possible to optimize the digest period per thousands of community? Every Monday Discourse sends a few thousand emails in 1-2 seconds which leads to SPAM problem with our custom mail server.

How to reset “last\_digest\_time” per account and normalize it to the other thousand accounts?

The goal is to have 100-200 digests per day instead of 5K on Monday. We’ve been using Discourse for the last 4 years, maybe there is a problem with an upgrade which we do very often to the latest release.

Also, maybe there is a hint on how to access Postgress of Docker image and where “to update” records in DB.

Thanks in advance!

---

_[View the full topic](https://meta.discourse.org/t/optimize-discourse-digest-period/145036)._
