Skip to content

Commit

Permalink
Trim cache key to 40 characters for display
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbalandan committed Aug 7, 2024
1 parent 0b3a946 commit cfd4f76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/prune-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
$result = [];
$message = sprintf(
"Deleting cache \033[33m%s\033[0m (\033[31m%s MB\033[0m) on ref \033[32m%s\033[0m...\n",
substr($cache['key'], 0, 50),
substr($cache['key'], 0, 40),
number_format($cache['size_in_bytes'] / 1_000_000, 2),
$cache['ref'],
);
Expand Down

0 comments on commit cfd4f76

Please sign in to comment.