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 rpc key #2179

Merged
merged 1 commit into from
Dec 3, 2024
Merged

cache rpc key #2179

merged 1 commit into from
Dec 3, 2024

Conversation

tudor-malene
Copy link
Collaborator

Why this change is needed

Cache the RPC key on the client side ( the Ten gateway).
The previous implementation made an extra RPC call for every RPC.

What changes were made as part of this PR

  • cache the rpc key on the client
  • cache the rpc key on the host

PR checks pre-merging

Please indicate below by ticking the checkbox that you have read and performed the required
PR checks

  • PR checks reviewed and performed

Copy link
Contributor

@zkokelj zkokelj left a comment

Choose a reason for hiding this comment

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

LGTM

@tudor-malene tudor-malene merged commit 777972a into main Dec 3, 2024
2 checks passed
@tudor-malene tudor-malene deleted the tudor/cache_rpc_key branch December 3, 2024 16:29
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.

2 participants