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 pgmg metadata instead of querying the db all the time #41

Open
JAForbes opened this issue May 4, 2024 · 0 comments
Open

Cache pgmg metadata instead of querying the db all the time #41

JAForbes opened this issue May 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@JAForbes
Copy link
Owner

JAForbes commented May 4, 2024

We're starting to hit issues for a client where they have a lot of migrations and we're needlessly querying the db which leads to timeouts before we even get to run the new migration.

Should be an easy change, just fetch that metadata when the script starts and query that cache instead of the db.

@JAForbes JAForbes added the enhancement New feature or request label May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant