X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flogin%2Flogind.c;h=b976981006a77e8fe2ce1882269ee3e1e66326a9;hb=a70be41f0832e4a36ff2fc99a2ac1f082b17b3be;hp=45fe8a9221dc70eeefb05c9b0cde9cb85bcb41c4;hpb=2027bfc6205de5f5313609fe0ca7e0649640219b;p=elogind.git diff --git a/src/login/logind.c b/src/login/logind.c index 45fe8a922..b97698100 100644 --- a/src/login/logind.c +++ b/src/login/logind.c @@ -79,7 +79,7 @@ static void manager_reset_config(Manager *m) { m->idle_action = HANDLE_IGNORE; m->runtime_dir_size = physical_memory_scale(10U, 100U); /* 10% */ - m->user_tasks_max = 12288; + m->user_tasks_max = system_tasks_max_scale(33U, 100U); /* 33% */ m->sessions_max = 8192; m->inhibitors_max = 8192;