[launchd-changes] [22866] trunk/launchd/src/launchd_core_logic.c
source_changes at macosforge.org
source_changes at macosforge.org
Thu Sep 21 15:33:18 PDT 2006
Revision: 22866
http://trac.macosforge.org/projects/launchd/changeset/22866
Author: zarzycki at apple.com
Date: 2006-09-21 15:33:17 -0700 (Thu, 21 Sep 2006)
Log Message:
-----------
<rdar://problem/4744392> launchd throttling is slowing down remote eppc connections
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-21 19:37:43 UTC (rev 22865)
+++ trunk/launchd/src/launchd_core_logic.c 2006-09-21 22:33:17 UTC (rev 22866)
@@ -81,6 +81,7 @@
#include "mpm_reply.h"
#define LAUNCHD_MIN_JOB_RUN_TIME 10
+#define LAUNCHD_ADVISABLE_IDLE_TIMEOUT 30
struct machservice {
SLIST_ENTRY(machservice) sle;
@@ -729,6 +730,7 @@
j->kqjob_callback = job_callback;
j->parent = p ? job_get_bs(p) : NULL;
j->min_run_time = LAUNCHD_MIN_JOB_RUN_TIME;
+ j->timeout = LAUNCHD_ADVISABLE_IDLE_TIMEOUT;
j->ondemand = true;
j->checkedin = true;
j->firstborn = (strcmp(label, FIRSTBORN_LABEL) == 0);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/launchd-changes/attachments/20060921/6998be77/attachment.html
More information about the launchd-changes
mailing list