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

Larger csv exports buffer modification #3736

Open
wants to merge 1 commit into
base: release/v3.31.1
Choose a base branch
from

Conversation

lachko
Copy link
Contributor

@lachko lachko commented Oct 9, 2024

Description


Often csv exports fail due to reaching max buffer size. This update allows for a conifgurable buffer and makes it larger then the default one

@lachko lachko added the bug label Oct 9, 2024
@lachko lachko requested a review from esurface October 9, 2024 11:10
@@ -43,7 +43,8 @@
}
cmd = `${cmd} ${csvTemplate ? `"${csvTemplate.headers.join(',')}"` : ''}`
log.debug("generate-csv: " + cmd)
exec(cmd).then(status => {
const maxBuffer = 1024 * 1024 * 100;
exec(cmd, { maxBuffer }).then(status => {

Check failure

Code scanning / CodeQL

Uncontrolled command line Critical

This command line depends on a
user-provided value
.
@esurface esurface changed the base branch from main to release/v3.31.1 October 10, 2024 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant