]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/main.c
core: enable TasksMax= for all services by default, and set it to 512
[thirdparty/systemd.git] / src / core / main.c
index f8e1d88335e765c20d4bb3251762d907049d70b0..a09ce0f083668c5323adfb33194bd54f551f4da0 100644 (file)
@@ -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) {