projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
509ed8d
)
Stop tile cleanup locks being considered stalfe after an hour
author
Tom Hughes
<tom@compton.nu>
Tue, 12 Nov 2013 18:55:48 +0000
(18:55 +0000)
committer
Tom Hughes
<tom@compton.nu>
Tue, 12 Nov 2013 18:55:48 +0000
(18:55 +0000)
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 9adf02aebb6439ffccde3a91e223e16c440e97cc..eebcd41a4f15ec8e1e1a2bdc6795c3ad1592d5b7 100644
(file)
--- a/
cookbooks/tile/templates/default/cleanup-tiles.erb
+++ b/
cookbooks/tile/templates/default/cleanup-tiles.erb
@@
-11,7
+11,7
@@
use LockFile::Simple;
my $tiledir = shift @ARGV;
-my $lockmgr = LockFile::Simple->make(-autoclean => 1, -max => 1, -warn => 0);
+my $lockmgr = LockFile::Simple->make(-autoclean => 1, -max => 1, -
hold => 0, -
warn => 0);
$lockmgr->lock("${tiledir}/cleanup") || exit 0;