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 GraphQL client responses in local cache file #4126

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

wjordan
Copy link
Contributor

@wjordan wjordan commented Dec 17, 2024

Speed up common flyctl operations by adding a caching layer for several frequently-used methods, avoiding extra GraphQL client requests for machine-local operations.

Change Summary

What and Why:

How:

Related to:


Documentation

  • Fresh Produce
  • In superfly/docs, or asked for help from docs team
  • n/a

Speed up common flyctl operations by adding a caching layer for several frequently-used methods,
avoiding extra GraphQL client requests for machine-local operations.
Add GetAppBasic to CachedClient
Remove 2-second wait for log polling, stream new logs as soon as they arrive.
Handle a couple edge cases around closed pipes and canceling stream contexts.
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.

1 participant