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 authorizer to avoid IO end #103

Merged
merged 1 commit into from
Apr 2, 2022
Merged

Conversation

rkyrychuk
Copy link
Contributor

Google::Auth::ServiceAccountCredentials.make_creds each call will read json_key_io. Since it cached, second time it read empty string and can't parse JSON.
This caching avoid read each time

@sabman
Copy link
Member

sabman commented Apr 2, 2022

Thanks @rkyrychuk merging now

@sabman sabman merged commit 51212f2 into decision-labs:master Apr 2, 2022
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.

None yet

2 participants