Skip to content

perf: don't preemptively determine the backend in getSeenUsers#62430

Open
icewind1991 wants to merge 1 commit into
masterfrom
seen-users-lazy-backend
Open

perf: don't preemptively determine the backend in getSeenUsers#62430
icewind1991 wants to merge 1 commit into
masterfrom
seen-users-lazy-backend

Conversation

@icewind1991

Copy link
Copy Markdown
Member
  • Resolves: #

Summary

Instead just use the LazyUser directly to fetch the backend on demand.

Saves between N and M*N queries for N seen users and M user backends.

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991 icewind1991 added this to the Nextcloud 35 milestone Jul 22, 2026
@icewind1991
icewind1991 requested a review from a team as a code owner July 22, 2026 21:42
@icewind1991
icewind1991 requested review from nfebe and salmart-dev and removed request for a team July 22, 2026 21:42
@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Jul 22, 2026
@icewind1991

Copy link
Copy Markdown
Member Author

/backport to stable34

@icewind1991

Copy link
Copy Markdown
Member Author

/backport to stable33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant