summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2013-11-08 16:01:22 +0100
committerLukas Nykryn <lnykryn@redhat.com>2013-11-08 17:00:01 +0100
commit3f41e1e5955552a771748225334b3e8a7eb02b8a (patch)
treec855ed7a54f576cd83b3eef3a9cfcacd20ab080d /src/shared
parent1290d0fc5f7ffb433e403068c6c60394033e9ba8 (diff)
manager: configurable StartLimit default values
https://bugzilla.redhat.com/show_bug.cgi?id=821723
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/def.h3
1 files changed, 3 insertions, 0 deletions
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"