Skip to content

Conversation

@allanlasser
Copy link
Member

While trying to export a large number of add-on runs, the server crashed. Looking into the code, we were trying to load and cache the full queryset into memory. I updated any admin export functions to use the .iterator() to allow exporting a large number of records.

In addition, I set the iterator's chunk size to be configurable with an environment variable, instead of being hardcoded into the iterator calls.

@allanlasser allanlasser merged commit e257967 into master Oct 9, 2025
3 checks passed
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