diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-04-25 13:27:25 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-04-25 13:27:25 +0200 |
commit | b2f8b02ec27dfec9cbd23573f47aba494f2e9b5f (patch) | |
tree | 56ca4d6015fa5bd06f473d7836ef3fc797f35f64 /src/core/unit.c | |
parent | 3051f1871ea2d9a36b423207221e461cc27e577c (diff) |
core: expose CFS CPU time quota as high-level unit properties
Diffstat (limited to 'src/core/unit.c')
-rw-r--r-- | src/core/unit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/unit.c b/src/core/unit.c index 153b79b3af..6ac359e31b 100644 --- a/src/core/unit.c +++ b/src/core/unit.c @@ -121,6 +121,7 @@ static void unit_init(Unit *u) { cc->cpu_accounting = u->manager->default_cpu_accounting; cc->blockio_accounting = u->manager->default_blockio_accounting; cc->memory_accounting = u->manager->default_memory_accounting; + cc->cpu_quota_period_usec = u->manager->default_cpu_quota_period_usec; } ec = unit_get_exec_context(u); |