# 无法提及成员数超过250人的群组

**URL:** https://meta.discourse.org/t/unable-to-mention-groups-250-members/250369
**Category:** Support
**Created:** [2023年一月2日 05:52 UTC](https://meta.discourse.org/t/unable-to-mention-groups-250-members/250369 "2023-01-02T05:52:14Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Shawnpinto](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shawnpinto/32/293169_2.png) [@Shawnpinto](https://meta.discourse.org/u/Shawnpinto)
#### Post date: [2023年一月2日 05:52 UTC](https://meta.discourse.org/t/unable-to-mention-groups-250-members/250369/1 "2023-01-02T05:52:14Z")

</div>

您好！👋🏽

我目前遇到一个问题，无法提及成员超过 250 人的群组。

 ![Screenshot 2023-01-02 at 11.14.09 AM](https://global.discourse-cdn.com/meta/original/4X/9/b/f/9bf34de92bd81a12115b544a6b7d0fd23ce7c301.jpeg)

我在设置中看到了此错误。

在 2022 年 12 月中旬之前，我能够提及 10,000 或更多成员的群组。  
有什么方法可以提高此限制吗？

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2023年一月2日 06:33 UTC](https://meta.discourse.org/t/unable-to-mention-groups-250-members/250369/2 "2023-01-02T06:33:02Z")

</div>

您好 @Shawnpinto 🙂

我相信有工程师正在着手改进@提及（mention）功能在大用户量下的性能，并希望很快能修复此问题。🤞

---

<div class="post-metadata">

### Author: ![Shawnpinto](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shawnpinto/32/293169_2.png) [@Shawnpinto](https://meta.discourse.org/u/Shawnpinto)
#### Post date: [2023年一月2日 06:48 UTC](https://meta.discourse.org/t/unable-to-mention-groups-250-members/250369/4 "2023-01-02T06:48:48Z")

</div>

好的！  
感谢更新 😁

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [2023年一月2日 10:06 UTC](https://meta.discourse.org/t/unable-to-mention-groups-250-members/250369/5 "2023-01-02T10:06:53Z")

</div>

这可以分配给员工和非员工吗？也许已经分配了？

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2023年一月2日 11:25 UTC](https://meta.discourse.org/t/unable-to-mention-groups-250-members/250369/6 "2023-01-02T11:25:38Z")

</div>

您可以通过结合使用“谁可以提及此群组”控件来实现此目的。对于任何成员超过 x 的群组，您可以将其设置为“仅限管理员和版主”，然后 @提及将显示为例如 [@team](https://meta.discourse.org/groups/team)，但除非有工作人员使用它，否则没有人会收到通知。

(有趣的论坛事实：在我最初的一周不小心使用了大约 15 次之后，即使是管理员现在也无法在此处 ping [@team](https://meta.discourse.org/groups/team)… 🙂)

---

<div class="post-metadata">

### Author: ![Roman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roman/32/157504_2.png) [@Roman](https://meta.discourse.org/u/Roman)
#### Post date: [2023年一月2日 17:00 UTC](https://meta.discourse.org/t/unable-to-mention-groups-250-members/250369/7 "2023-01-02T17:00:28Z")

</div>

抱歉给您带来不便，限制已在以下位置移除：

> <https://github.com/discourse/discourse/pull/19666>
>
> This PR removes the limit added to \`max\_users\_notified\_per\_group\_mention\` during… #19034 and improve the performance when expanding mentions for large channel or groups by removing some N+1 queries and making the whole process async.
> 
> For testing, I tried mentioning a group with 3k members, these were the results:
> 
> \#### Before:
> 
> \<img width="619" alt="Screen Shot 2022-12-31 at 15 30 24" src="https://user-images.githubusercontent.com/5025816/210153887-0981ed7c-73cd-4542-964e-28da6577842a.png"\>
> 
> \#### Without N+1:
> 
> \<img width="624" alt="Screen Shot 2022-12-31 at 16 10 33" src="https://user-images.githubusercontent.com/5025816/210153894-3fabb131-9a29-4ff9-a97a-1bd0bfed981e.png"\>
> 
> 
> \#### Without N+1 + async:
> 
> \<img width="606" alt="Screen Shot 2022-12-31 at 16 15 29" src="https://user-images.githubusercontent.com/5025816/210153899-facb4d88-5351-41f7-8bc8-980dd14a0c23.png"\>

---

<div class="post-metadata">

### Author: ![Shawnpinto](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shawnpinto/32/293169_2.png) [@Shawnpinto](https://meta.discourse.org/u/Shawnpinto)
#### Post date: [2023年一月2日 17:25 UTC](https://meta.discourse.org/t/unable-to-mention-groups-250-members/250369/8 "2023-01-02T17:25:05Z")

</div>

是的！我现在可以编辑该字段并输入更高的金额了。

非常感谢你们团队 😀

---

<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: [2023年二月1日 17:25 UTC](https://meta.discourse.org/t/unable-to-mention-groups-250-members/250369/9 "2023-02-01T17:25:18Z")

</div>

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