Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor optimizations for public API endpoints #5172

Merged
merged 2 commits into from
Oct 11, 2024

Conversation

matiasb
Copy link
Contributor

@matiasb matiasb commented Oct 11, 2024

  • Add/update eager loading for public API serializers
  • Use cached final schedule to get currently on-call users

@matiasb matiasb added pr:no public docs Added to a PR that does not require public documentation updates release:ignore PR will not be added to release notes labels Oct 11, 2024
@matiasb matiasb changed the title Add/update eager loading for public API serializers Minor optimizations for public API endpoints Oct 11, 2024
@matiasb matiasb marked this pull request as ready for review October 11, 2024 19:25
@matiasb matiasb requested a review from a team October 11, 2024 19:25
Copy link
Contributor

@joeyorlando joeyorlando left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice! LGTM 👍

@matiasb matiasb added this pull request to the merge queue Oct 11, 2024
Merged via the queue into dev with commit e0816dd Oct 11, 2024
25 checks passed
@matiasb matiasb deleted the matiasb/minor-public-api-optimizations branch October 11, 2024 19:48
github-merge-queue bot pushed a commit that referenced this pull request Oct 16, 2024
Undo one of the changes from #5172
(since it seems to make the schedules endpoint a bit worse; OTOH, other
changes improved latency). Eventually we may consider using the cached
on-call users information instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:no public docs Added to a PR that does not require public documentation updates release:ignore PR will not be added to release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants