summaryrefslogtreecommitdiff
path: root/src/core/main.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-11-13 19:28:32 +0100
committerLennart Poettering <lennart@poettering.net>2015-11-16 11:57:48 +0100
commit9ded9cd14cc03c67291b10a5c42ce5094ba0912f (patch)
treeb905c1173fa4acb99741210907b15136c3919fdf /src/core/main.c
parent702d4e6f14b0c92f7325fcdc3650c79c2221849e (diff)
core: enable TasksMax= for all services by default, and set it to 512
Also, enable TasksAccounting= for all services by default, too. See: http://lists.freedesktop.org/archives/systemd-devel/2015-November/035006.html
Diffstat (limited to 'src/core/main.c')
-rw-r--r--src/core/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/main.c b/src/core/main.c
index f8e1d88335..a09ce0f083 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -125,8 +125,8 @@ static FILE* arg_serialization = NULL;
static bool arg_default_cpu_accounting = false;
static bool arg_default_blockio_accounting = false;
static bool arg_default_memory_accounting = false;
-static bool arg_default_tasks_accounting = false;
-static uint64_t arg_default_tasks_max = (uint64_t) -1;
+static bool arg_default_tasks_accounting = true;
+static uint64_t arg_default_tasks_max = UINT64_C(512);
static void pager_open_if_enabled(void) {