# 延长慢速模式的使用以应对“实时聊天”的战斗

**URL:** <https://meta.discourse.org/t/extend-usage-of-slow-mode-to-fight-battle-of-live-chat/202204>\
**Category:** Feature\
**Tags:** slow-mode\
**Created:** [2021年八月31日 08:33 UTC](https://meta.discourse.org/t/extend-usage-of-slow-mode-to-fight-battle-of-live-chat/202204 "2021-08-31T08:33:16Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Ty1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ty1/32/232689_2.png) [@Ty1](https://meta.discourse.org/u/Ty1)\
**Post date:** [2021年九月22日 19:15 UTC](https://meta.discourse.org/t/extend-usage-of-slow-mode-to-fight-battle-of-live-chat/202204/3 "2021-09-22T19:15:44Z")

</div>

感谢 @Simon_Manning！您的回复帮助我们找到了一种适用于 **2b** 的类似方法。

以下是我们针对 **2b** 将要采取的步骤（如果有人感兴趣的话）。在输入 rails 控制台后：

```plaintext
UserOption.update_all(homepage_id: 4)

```

在我们的测试站点中，homepage\_id 4 对应的是“新”。由于不同的站点设置，我不确定这是否始终一致，但很容易检查。只需设置一个用户的默认主页为“新”，然后进入数据库检查该用户的 homepage\_id 即可。有关如何进入数据库并检查数据的友好说明，可在此处找到：[https://meta.discourse.org/t/how-to-access-the-discourse-database/41845/14?u=ty1](https://meta.discourse.org/t/how-to-access-the-discourse-database/41845/14?u=ty1)。

---

_[View the full topic](https://meta.discourse.org/t/extend-usage-of-slow-mode-to-fight-battle-of-live-chat/202204)._
