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

Ensure AuthClient is cached #373

Merged
merged 1 commit into from
Aug 19, 2024
Merged

Ensure AuthClient is cached #373

merged 1 commit into from
Aug 19, 2024

Conversation

sethvargo
Copy link
Member

@sethvargo sethvargo commented Aug 17, 2024

Closes #364

/cc @GregoireW @danielbankhead could you please test this?

@verbanicm hold on merge until further testing.

@sethvargo sethvargo requested a review from a team as a code owner August 17, 2024 15:09
@sethvargo sethvargo requested a review from verbanicm August 17, 2024 15:09
@GregoireW
Copy link

@sethvargo The action is not built here.

@sethvargo
Copy link
Member Author

sethvargo commented Aug 18, 2024

@sethvargo The action is not built here.

Fixed @GregoireW

@GregoireW
Copy link

Now I got 2 api when I launch my test with 200 files so this is good.

I notice a real application with ~75 api call for 3500 files, not sure why, but let say it is not related. it is already a huge improvement.

Thank you!

@sethvargo sethvargo enabled auto-merge (squash) August 19, 2024 17:14
@sethvargo
Copy link
Member Author

@verbanicm ready for review

@danielbankhead - I'd still like your feedback on #373 (comment).

@sethvargo sethvargo merged commit e495015 into main Aug 19, 2024
7 checks passed
@sethvargo sethvargo disabled auto-merge August 19, 2024 21:50
@sethvargo sethvargo deleted the sethvargo/cache branch August 19, 2024 21:50
sethvargo pushed a commit that referenced this pull request Aug 19, 2024
## What's Changed
* Ensure AuthClient is cached by @sethvargo in
#373
* Use the default client instead by @sethvargo in
#374


**Full Changelog**:
v2.1.2...bf31481
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Reduce api call to token service endpoint
4 participants