Skip to content

Commit

Permalink
api: replace here-string in log_diagnose with process substitution
Browse files Browse the repository at this point in the history
a here-string creates a temporary file on disk which can lead to failure to process all greps in the case of disk space exhaustion. a here-string is also subject to max argument length exhaustion on some systems/kernels leading to failure to process all greps.

process substitution occurs in memory and is not subject to the same limitations.
  • Loading branch information
theofficialgman committed Oct 12, 2024
1 parent ac8cf50 commit e211b78
Showing 1 changed file with 128 additions and 128 deletions.
Loading

0 comments on commit e211b78

Please sign in to comment.