projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
244972c
)
tile: clean atime cut-off to 35 days. (28d: 15.8%, 35d: 7.3%, 45d: 0.8% of total...
author
Grant Slater
<git@firefishy.com>
Sat, 28 Sep 2013 22:13:07 +0000
(23:13 +0100)
committer
Grant Slater
<git@firefishy.com>
Sat, 28 Sep 2013 22:13:07 +0000
(23:13 +0100)
cookbooks/tile/templates/default/cleanup-tiles.erb
patch
|
blob
|
history
diff --git
a/cookbooks/tile/templates/default/cleanup-tiles.erb
b/cookbooks/tile/templates/default/cleanup-tiles.erb
index 8a2c062be8a8a968f9f2c967cfb0fc4db310444f..c4bff4cce3d1f00da308a8287a0d81361fe6908b 100644
(file)
--- a/
cookbooks/tile/templates/default/cleanup-tiles.erb
+++ b/
cookbooks/tile/templates/default/cleanup-tiles.erb
@@
-13,7
+13,7
@@
my $tempfile = tmpnam();
if (df($tiledir)->{per} > 90)
{
- system("find", $tiledir, "-xdev", "-type", "f", "-name", "*.meta", "-atime", "+
28
", "-fprintf", $tempfile, "%A@ %p\n");
+ system("find", $tiledir, "-xdev", "-type", "f", "-name", "*.meta", "-atime", "+
35
", "-fprintf", $tempfile, "%A@ %p\n");
open(TILES, "-|", "sort", "-n", $tempfile) || die "Can't open $tempfile: $!";