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

datastore: fix get query caching #1449

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Dec 10, 2024

  1. datastore: fix get query caching

    This change replaces caching the DB pgx.Rows, which is an iterator, with
    the actual potential vulnerabilities. Previously, subsequent records
    manifesting in the same query were given a pgx.Rows object that had been
    exhausted.
    
    Signed-off-by: crozzy <[email protected]>
    crozzy committed Dec 10, 2024
    Configuration menu
    Copy the full SHA
    5aa95eb View commit details
    Browse the repository at this point in the history