Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Auto pageinate requests #36

Open
davidplappert opened this issue Feb 16, 2022 · 0 comments
Open

Auto pageinate requests #36

davidplappert opened this issue Feb 16, 2022 · 0 comments

Comments

@davidplappert
Copy link

davidplappert commented Feb 16, 2022

As our dataset grows, we continue to get this error:
ActiveRecord::StatementInvalid (Database returned more than the allowed response size limit)

As I understand, AWS has a limit of 1MB per return.

Using order & limit, it would be nice to turn on a config flag to auto grab all the records, and not have to manually write the method each time to loop.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant