summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-12-19 22:12:53 +0100
committerLennart Poettering <lennart@poettering.net>2013-12-19 22:18:39 +0100
commitf7cf00fa51937e3449b40f098d34569d41170077 (patch)
treec9a90959b11682ba60457b50a2b4e32aea5d2301 /src
parentff0031069ffeb0ccda209297b6b39c4786ac770b (diff)
def: lower exit-on-idle time
Diffstat (limited to 'src')
-rw-r--r--src/shared/def.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/shared/def.h b/src/shared/def.h
index 825db9507f..d196af76bd 100644
--- a/src/shared/def.h
+++ b/src/shared/def.h
@@ -30,7 +30,10 @@
#define DEFAULT_START_LIMIT_INTERVAL (10*USEC_PER_SEC)
#define DEFAULT_START_LIMIT_BURST 5
-#define DEFAULT_EXIT_USEC (5*USEC_PER_MINUTE)
+/* The default time after which exit-on-idle services exit. This
+ * should be kept lower than the watchdog timeout, because otherwise
+ * the watchdog pings will keep the loop busy. */
+#define DEFAULT_EXIT_USEC (30*USEC_PER_SEC)
#define SYSTEMD_CGROUP_CONTROLLER "name=systemd"