Timeout for global exclusive lock after 180 sec (instead of 20)

tags/virt-backup-0.2.20-1
Daniel Berteaud 6 years ago
parent e083e15df5
commit a7415fda91
  1. 2
      virt-backup

@ -235,7 +235,7 @@ print "\n" if ($opts{debug});
# Acquire an exclusive lock so we can ensure only one copy # Acquire an exclusive lock so we can ensure only one copy
# of virt-backup can run at a time # of virt-backup can run at a time
my $locker = LockFile::Simple->make( my $locker = LockFile::Simple->make(
-max => 20, -max => 180,
-delay => 1 -delay => 1
); );
print "Trying to acquire an exclusive lock\n" if ($opts{debug}); print "Trying to acquire an exclusive lock\n" if ($opts{debug});

Loading…
Cancel
Save