From 3f41e1e5955552a771748225334b3e8a7eb02b8a Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Fri, 8 Nov 2013 16:01:22 +0100 Subject: manager: configurable StartLimit default values https://bugzilla.redhat.com/show_bug.cgi?id=821723 --- src/shared/def.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/shared') diff --git a/src/shared/def.h b/src/shared/def.h index 46b88a8a49..d7e077a577 100644 --- a/src/shared/def.h +++ b/src/shared/def.h @@ -27,6 +27,9 @@ #define DEFAULT_RESTART_USEC (100*USEC_PER_MSEC) #define DEFAULT_CONFIRM_USEC (30*USEC_PER_SEC) +#define DEFAULT_START_LIMIT_INTERVAL (10*USEC_PER_SEC) +#define DEFAULT_START_LIMIT_BURST 5 + #define DEFAULT_EXIT_USEC (5*USEC_PER_MINUTE) #define SYSTEMD_CGROUP_CONTROLLER "name=systemd" -- cgit v1.2.3-54-g00ecf