authgear-server icon indicating copy to clipboard operation
authgear-server copied to clipboard

Adding roles to group with a lot of user inside the group causes long response time

Open tung2744 opened this issue 9 months ago • 1 comments

  1. We have a group with ~20000 users
  2. Add a role to that group
  3. See long response time
Screenshot 2024-06-05 at 4.25.48 PM.png

Guessing the time was spent on updating the user's require_reindex_after column, or enqueue tasks to reindex the users.

  • [ ] Find the reason causing the long response time.
  • [ ] If it is related to enqueue tasks, see if we can do it after returning the response.

tung2744 avatar Jun 05 '24 08:06 tung2744