mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
PERF: Avoid looking up the same group multiple times during bulk invite.
Also cache the guardian check because it does a query to check if the user is an owner of the group.
This commit is contained in:
committed by
Guo Xiang Tan
parent
25514550f0
commit
ce4c8e957b
2
spec/fixtures/csv/bulk_invite.csv
vendored
2
spec/fixtures/csv/bulk_invite.csv
vendored
@@ -1,2 +1,2 @@
|
||||
test2@discourse.org
|
||||
test@discourse.org,group1;group2,999
|
||||
test@discourse.org,GROUP1;group2,999
|
||||
|
||||
|
Reference in New Issue
Block a user