# Redis内存在Discourse 3.4.0.beta3中持续增加

**URL:** <https://meta.discourse.org/t/redis-memory-keeps-increasing-in-discourse-3-4-0-beta3/347197>\
**Category:** Support\
**Created:** [2025年一月15日 05:47 UTC](https://meta.discourse.org/t/redis-memory-keeps-increasing-in-discourse-3-4-0-beta3/347197 "2025-01-15T05:47:35Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [2025年二月3日 17:14 UTC](https://meta.discourse.org/t/redis-memory-keeps-increasing-in-discourse-3-4-0-beta3/347197/21 "2025-02-03T17:14:27Z")

</div>

抱歉，@Siraj_Moideen - 确实是一个 bug，将通过以下链接修复：

> <https://github.com/discourse/discourse/pull/31133>
>
> due to an issue with LEFT JOIN, we were enqueue a "chat summary" email for every… new messages in a channel, instead of for every new mentions 😬
> 
> This bloated the sidekiq queue with a lot of unecessary jobs as seen in
> 
> \- https://meta.discourse.org/t/-/347197
> \- https://meta.discourse.org/t/-/346542
> 
> Thankfully, it wasn't sending those emails as the query for listing the unread mentions and dms was correct when generating the chat summary email.

我们有一个查询，列出了所有“未读用户”提及或聊天中的私信，但试图过于聪明反而弄错了。它没有为频道中的提及或私信中的未读消息排队“聊天摘要”（即电子邮件通知），而是为每条消息排队了一个作业 😑 由于该作业每 5 分钟运行一次，它很容易用无用的作业使 sidekiq 臃肿……（注意：电子邮件很庆幸没有被发送，因为我们无法检索到任何提及）。

---

<div class="post-metadata">

**Author:** ![Siraj\_Moideen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/siraj_moideen/32/480987_2.png) [@Siraj\_Moideen](https://meta.discourse.org/u/Siraj_Moideen)\
**Post date:** [2025年二月6日 08:09 UTC](https://meta.discourse.org/t/redis-memory-keeps-increasing-in-discourse-3-4-0-beta3/347197/22 "2025-02-06T08:09:36Z")

</div>

@zogstrip v3.4.0.beta4 更新后，此 bug 已修复。

非常感谢！🙂

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [2025年三月8日 08:10 UTC](https://meta.discourse.org/t/redis-memory-keeps-increasing-in-discourse-3-4-0-beta3/347197/23 "2025-03-08T08:10:19Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

[上一頁](https://meta.discourse.org/t/redis-memory-keeps-increasing-in-discourse-3-4-0-beta3/347197.md?page=1)
