Skip to content

Commit

Permalink
memory-monitor: Restore output limit to 100 MB after refactor mistake.
Browse files Browse the repository at this point in the history
Reverted the `MAX_OUTPUT_SIZE_MB` value back to 100 MB after mistakenly
reducing it to 1 MB during a refactor of the cleanup function. This
change ensures the output limit is appropriate for handling multiple
runs of the script.

Signed-off-by: Nikolay Martyanov <[email protected]>
(cherry picked from commit 6900ef1)
  • Loading branch information
OhmSpectator committed Oct 17, 2024
1 parent 8cddcb1 commit c5f247c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/memory-monitor/src/monitor/memory-monitor-handler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ MEMORY_MONITOR_HANDLER_LOG_FILE="memory-monitor-handler.log"
EVENT_LOG_FILE="events.log"
PSI_FILE="psi.txt"

MAX_OUTPUT_SIZE_MB=1 # 100 MB
MAX_OUTPUT_SIZE_MB=100 # 100 MB
MAX_OUTPUT_SIZE_KB=$((MAX_OUTPUT_SIZE_MB * 1024))

tar_old_output() {
Expand Down

0 comments on commit c5f247c

Please sign in to comment.