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

cache /find endpoint #48016

Merged
merged 3 commits into from
Oct 28, 2024
Merged

cache /find endpoint #48016

merged 3 commits into from
Oct 28, 2024

Conversation

hugoShaka
Copy link
Contributor

As per @espadolini 's request: this PR wraps the /find endpoint with a 10-second function cache to ensure it scales nicely.

The per-group/per-agent AU logic should be inserted after the cache lookup.

Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-48016.d3pp5qlev8mo18.amplifyapp.com

lib/web/apiserver_ping_test.go Outdated Show resolved Hide resolved
lib/web/apiserver.go Outdated Show resolved Hide resolved
@hugoShaka hugoShaka force-pushed the hugo/speed-up-find-endpoint branch from 10ea777 to 9683a39 Compare October 28, 2024 17:22
@hugoShaka hugoShaka requested a review from espadolini October 28, 2024 17:25
Copy link
Contributor

@espadolini espadolini left a comment

Choose a reason for hiding this comment

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

Many thanks 🙌

@hugoShaka hugoShaka requested review from sclevine and vapopov October 28, 2024 17:44
@hugoShaka hugoShaka enabled auto-merge October 28, 2024 17:57
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 28, 2024
@hugoShaka hugoShaka added this pull request to the merge queue Oct 28, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 28, 2024
@hugoShaka hugoShaka added this pull request to the merge queue Oct 28, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 28, 2024
@hugoShaka hugoShaka added this pull request to the merge queue Oct 28, 2024
Merged via the queue into master with commit cc89f57 Oct 28, 2024
40 checks passed
@hugoShaka hugoShaka deleted the hugo/speed-up-find-endpoint branch October 28, 2024 20:07
@public-teleport-github-review-bot

@hugoShaka See the table below for backport results.

Branch Result
branch/v14 Failed
branch/v15 Failed
branch/v16 Failed
branch/v17 Create PR

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

Successfully merging this pull request may close these issues.

4 participants