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

Avoid multiple Auth0 calls #497

Conversation

Marinovsky
Copy link
Collaborator

@Marinovsky Marinovsky commented Sep 5, 2024

Closes #494
Add a cache dictionary in the Auth0Client class so that every time the method read is called, it doesn't make an auth0 request again but first try to search in the cache if the result for that brokerage_id has already been stored and use it.

Copy link
Member

@Martin-Molinero Martin-Molinero left a comment

Choose a reason for hiding this comment

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

Thank you! 🚀

@Martin-Molinero Martin-Molinero merged commit 3b59b3d into QuantConnect:master Sep 5, 2024
25 checks passed
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.

Avoid multiple auth0 calls for same module
2 participants