Hello!
I’m currently facing an issue where I’m unable to mention a group which has more than 250 members in it.
I am getting this error in settings.
I was able to mention groups greater than 10,000 or more members until mid of December 2022.
Is there somehow I could increase this limit?
1 Like
Hi @Shawnpinto
I believe an engineer is currently looking into improving the performance of @mentions for large amounts of users and should hopefully have a fix for this soon.
4 Likes
Got it!
Thanks for the update
3 Likes
merefield
(Robert)
January 2, 2023, 10:06am
5
Can this be split between staff and non-staff? Maybe it already is?
I think you could already do that by using this in conjunction with the ‘Who can mention this group’ controls? For any group with over x amount of members you can have it as ‘Admin and Moderators only’, and then the @mention will display as eg @team , but no one will get a ping unless a staff member uses it.
(Fun forum fact: not even admin can ping @team on here now after I accidentally used it about 15 times in my first week… )
2 Likes
Roman
(Roman Rizzi)
January 2, 2023, 5:00pm
7
Apologies for the inconvenience, the limit was removed in:
discourse:main
← discourse:async_chat_notifications
opened 07:27PM - 31 Dec 22 UTC
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">
7 Likes
Yes! I’m able to edit the field and enter a higher amount now.
Thank you so much team
1 Like
system
(system)
Closed
February 1, 2023, 5:25pm
9
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.