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

[1.x] Fixes Octane's process output not being flushed #428

Merged
merged 2 commits into from
Nov 29, 2021

Conversation

nunomaduro
Copy link
Member

This pull request fixes an edge case where the temporary file created by Octane's Symfony process for the process's output, may take a considerable disk space, if the process is running for too long. In addition, we don't really need that full output, as we already use it the getIncrementalOutput for getting incrementally the output.

So, the solution in this pull request is simple, we just clear the output - the temporary file - every time we grab information from the output.

Closes #426

@nunomaduro
Copy link
Member Author

Note, tests will pass once this gets merged: #429.

@taylorotwell taylorotwell merged commit 0dc6539 into 1.x Nov 29, 2021
@taylorotwell taylorotwell deleted the fix/output-storage-leak branch November 29, 2021 14:26
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.

Process->getIncrementalOutput() does not flush output buffer
2 participants