From: Lennart Poettering Date: Thu, 19 Dec 2013 21:12:53 +0000 (+0100) Subject: def: lower exit-on-idle time X-Git-Tag: v209~790 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=f7cf00fa51937e3449b40f098d34569d41170077 def: lower exit-on-idle time --- diff --git a/src/shared/def.h b/src/shared/def.h index 825db9507..d196af76b 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"