diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-11-13 17:13:55 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-11-13 19:50:52 +0100 |
commit | 0af20ea2ee2af2bcf2258e7a8e1a13181a6a75d6 (patch) | |
tree | 0fee32b93ed0b93271670e4d68f8c5d7177ee312 /src/core/manager.c | |
parent | ecee72e1b6c3476b674b58472c483fc4aef7ceed (diff) |
core: add new DefaultTasksMax= setting for system.conf
This allows initializing the TasksMax= setting of all units by default
to some fixed value, instead of leaving it at infinity as before.
Diffstat (limited to 'src/core/manager.c')
-rw-r--r-- | src/core/manager.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/manager.c b/src/core/manager.c index f695b8a66c..fd915d748c 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -577,6 +577,7 @@ int manager_new(ManagerRunningAs running_as, bool test_run, Manager **_m) { m->running_as = running_as; m->exit_code = _MANAGER_EXIT_CODE_INVALID; m->default_timer_accuracy_usec = USEC_PER_MINUTE; + m->default_tasks_max = (uint64_t) -1; /* Prepare log fields we can use for structured logging */ m->unit_log_field = unit_log_fields[running_as]; |