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 10, 2024
1 parent 6423860 commit 8e5f19b
Showing 1 changed file with 130 additions and 128 deletions.
Loading

0 comments on commit 8e5f19b

Please sign in to comment.