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

Redirect command output to a tempfile instead of reading it all into memory #14

Open
jwodder opened this issue May 3, 2024 · 0 comments
Labels
c:output capture performance Efficient use of time and space under consideration Dev has not yet decided whether or how to implement

Comments

@jwodder
Copy link
Owner

jwodder commented May 3, 2024

  • If the final size of the tempfile ends up exceeding some (user-configurable?) limit, send the contents as a compressed attachment

    • If compression fails (or if even the compressed file is too big), keep the tempfile around and include its path rather than contents in the e-mail
  • Add an option for always (regardless of file size) keeping the tempfile around and sending its path rather than contents in the e-mail

  • Add an option for configuring the directory in which tempfiles (both ephemeral and preserved) are created

@jwodder jwodder added c:output capture performance Efficient use of time and space under consideration Dev has not yet decided whether or how to implement labels May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:output capture performance Efficient use of time and space under consideration Dev has not yet decided whether or how to implement
Projects
None yet
Development

No branches or pull requests

1 participant