chiark / gitweb /
def: lower exit-on-idle time
authorLennart Poettering <lennart@poettering.net>
Thu, 19 Dec 2013 21:12:53 +0000 (22:12 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 19 Dec 2013 21:18:39 +0000 (22:18 +0100)
src/shared/def.h

index 825db9507f7ff35bbc35d6f34b2bd5ddca88888c..d196af76bd060ef21e594bdd3fbb02c26ecaee05 100644 (file)
 #define DEFAULT_START_LIMIT_INTERVAL (10*USEC_PER_SEC)
 #define DEFAULT_START_LIMIT_BURST 5
 
 #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"
 
 
 #define SYSTEMD_CGROUP_CONTROLLER "name=systemd"