Timeout for global exclusive lock after 180 sec (instead of 20)
This commit is contained in:
parent
e083e15df5
commit
a7415fda91
|
@ -235,7 +235,7 @@ print "\n" if ($opts{debug});
|
|||
# Acquire an exclusive lock so we can ensure only one copy
|
||||
# of virt-backup can run at a time
|
||||
my $locker = LockFile::Simple->make(
|
||||
-max => 20,
|
||||
-max => 180,
|
||||
-delay => 1
|
||||
);
|
||||
print "Trying to acquire an exclusive lock\n" if ($opts{debug});
|
||||
|
|
Loading…
Reference in New Issue
Block a user