[open-ils-commits] r18256 - trunk/Open-ILS/src/support-scripts (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Oct 11 10:01:47 EDT 2010
Author: erickson
Date: 2010-10-11 10:01:45 -0400 (Mon, 11 Oct 2010)
New Revision: 18256
Modified:
trunk/Open-ILS/src/support-scripts/action_trigger_runner.pl
Log:
wait to run-pending if a specific granularity used
Modified: trunk/Open-ILS/src/support-scripts/action_trigger_runner.pl
===================================================================
--- trunk/Open-ILS/src/support-scripts/action_trigger_runner.pl 2010-10-09 02:32:49 UTC (rev 18255)
+++ trunk/Open-ILS/src/support-scripts/action_trigger_runner.pl 2010-10-11 14:01:45 UTC (rev 18256)
@@ -211,7 +211,7 @@
# check the lockfile
if (-e $opt_lockfile) {
- die "I'm already running with lockfile $opt_lockfile\n" if (!$opt_process_hooks);
+ die "I'm already running with lockfile $opt_lockfile\n" unless ($opt_process_hooks or $opt_granularity);
# sleeping loop if we're in --process-hooks mode
while ($max_sleep >= 0 && sleep(1)) {
last unless ( -e $opt_lockfile );
More information about the open-ils-commits
mailing list