Skip to content

Conversation

@Koc
Copy link
Contributor

@Koc Koc commented Mar 16, 2025

📝 Summary

In our organization we have circles with thousands of people. This leads api for fetching collectives list extremely slow, up to 30s. This happens because we loading all members of the circle for canLeave check. With suggested change we can reduce amount of loaded users

🖼️ Screenshots

🏚️ Before 🏡 After
B A

🚧 TODO

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits
  • Tests (unit, integration and/or end-to-end) passing and the changes are covered with tests
  • Documentation (README or documentation) has been updated or is not required

Signed-off-by: Kostiantyn Miakshyn <[email protected]>
@Koc Koc requested review from max-nextcloud and mejo- as code owners March 16, 2025 21:59
@mejo- mejo- merged commit 3f7ebbd into main Apr 9, 2025
54 checks passed
@mejo- mejo- deleted the feature/optimize-collectives-fetching branch April 9, 2025 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants