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

improve logs pagination #2202

Merged
merged 3 commits into from
Oct 30, 2024
Merged

improve logs pagination #2202

merged 3 commits into from
Oct 30, 2024

Conversation

serprex
Copy link
Contributor

@serprex serprex commented Oct 29, 2024

using LIMIT/OFFSET is inaccurate when new logs come it while logs being viewed

this makes a minor improvement by instead being based on records before/after an id from previous page,
which is how I'd like to also add pagination to sync batches in mirror status

protos/route.proto Outdated Show resolved Hide resolved
@serprex serprex force-pushed the improve-logs-pagination branch 2 times, most recently from c194617 to ac07420 Compare October 30, 2024 03:32
@serprex serprex requested a review from pjhampton October 30, 2024 12:41
using LIMIT/OFFSET is inaccurate when new logs come it while logs being viewed

this makes a minor improvement by instead being based on records before/after an id from previous page,
which is how I'd like to also add pagination to sync batches in mirror status
@serprex serprex force-pushed the improve-logs-pagination branch from ac07420 to 46b81ea Compare October 30, 2024 14:51
@serprex serprex merged commit 9b4d837 into main Oct 30, 2024
12 checks passed
@serprex serprex deleted the improve-logs-pagination branch October 30, 2024 18:56
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.

3 participants