[launchd-changes] [22860] trunk/launchd/src/launchd_core_logic.c

source_changes at macosforge.org source_changes at macosforge.org
Wed Sep 20 11:54:45 PDT 2006


Revision: 22860
          http://trac.macosforge.org/projects/launchd/changeset/22860
Author:   zarzycki at apple.com
Date:     2006-09-20 08:37:31 -0700 (Wed, 20 Sep 2006)

Log Message:
-----------
<rdar://problem/4740911> A fix for the AppleConnect hangs in recent Leopard builds

Modified Paths:
--------------
    trunk/launchd/src/launchd_core_logic.c

Modified: trunk/launchd/src/launchd_core_logic.c
===================================================================
--- trunk/launchd/src/launchd_core_logic.c	2006-09-19 17:48:41 UTC (rev 22859)
+++ trunk/launchd/src/launchd_core_logic.c	2006-09-20 15:37:31 UTC (rev 22860)
@@ -1469,7 +1469,7 @@
 
 	td = time(NULL) - j->start_time;
 
-	if (td < LAUNCHD_MIN_JOB_RUN_TIME) {
+	if (td < LAUNCHD_MIN_JOB_RUN_TIME && !j->legacy_mach_job) {
 		time_t respawn_delta = LAUNCHD_MIN_JOB_RUN_TIME - td;
 
 		job_log(j, LOG_WARNING, "Throttling respawn: Will start in %ld seconds", respawn_delta);

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/launchd-changes/attachments/20060920/0f275b67/attachment.html


More information about the launchd-changes mailing list