# 聊天有时未实时更新

**URL:** <https://meta.discourse.org/t/chat-sometimes-not-updating-realtime/281102>\
**Category:** Support\
**Tags:** chat\
**Created:** [2023年十月5日 01:42 UTC](https://meta.discourse.org/t/chat-sometimes-not-updating-realtime/281102 "2023-10-05T01:42:18Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [2023年十月5日 15:31 UTC](https://meta.discourse.org/t/chat-sometimes-not-updating-realtime/281102/7 "2023-10-05T15:31:54Z")

</div>

您的网站位于 Cloudflare 之后，因此您需要检查：

- 您是否已将 Cloudflare 模板添加到 app.yml 文件中？Discourse 是否正在获取正确的用户 IP？

- 您是否通过 Cloudflare 代理提供 MessageBus，据我们上次检查，这是一个糟糕的主意，请参阅 [Full site CDN acceleration for Discourse - #26 by Hyan](https://meta.discourse.org/t/full-site-cdn-acceleration-for-discourse/21467/26?u=falco)

- 您的服务器是否资源不足，导致因负载而发送 429？您可以尝试删除额外的插件，看看这是否能解决问题。否则，您可以尝试稍微增加 UNICORN\_WORKERS 的数量。

---

_[View the full topic](https://meta.discourse.org/t/chat-sometimes-not-updating-realtime/281102)._
