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

politeiad: add pagination to record inventory #1306

Merged
merged 9 commits into from
Sep 29, 2020

Conversation

alexlyp
Copy link
Member

@alexlyp alexlyp commented Sep 28, 2020

Due to limitations on memory usage I've added a basic page/count paginator on the record inventory call.

There is also a fix included for DCC mdstream decoding from records.

politeiad/api/v1/v1.go Outdated Show resolved Hide resolved
politeiad/backend/gitbe/gitbe.go Outdated Show resolved Hide resolved
politeiad/api/v1/v1.go Outdated Show resolved Hide resolved
Copy link
Member

@lukebp lukebp left a comment

Choose a reason for hiding this comment

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

ACK

@alexlyp alexlyp merged commit 2cfa782 into decred:master Sep 29, 2020
@alexlyp alexlyp deleted the ayp_paginator branch September 29, 2020 18:35
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.

None yet

2 participants