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 /info on nats sync #2409

Merged
merged 1 commit into from
Nov 11, 2022
Merged

Cache /info on nats sync #2409

merged 1 commit into from
Nov 11, 2022

Conversation

lnguyen
Copy link
Member

@lnguyen lnguyen commented Nov 9, 2022

The nats sync calls info endpoint on every call it does to /vms This is not ideal.
This is not ideal. This caches the info call as it doesn't change that often

This is not ideal. This caches the info call as it doesn't change
that often
Copy link
Contributor

@nouseforaname nouseforaname left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Member

@danielfor danielfor left a comment

Choose a reason for hiding this comment

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

LGTM

@beyhan beyhan merged commit ddeb66f into main Nov 11, 2022
@beyhan beyhan deleted the fix_info_call branch November 11, 2022 09:59
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.

4 participants