summaryrefslogtreecommitdiff
path: root/src/core/unit.h
diff options
context:
space:
mode:
authorFilipe Brandenburger <filbranden@google.com>2019-01-23 20:19:44 -0800
committerFilipe Brandenburger <filbranden@google.com>2019-02-14 11:04:42 -0800
commit527ede0c638b47b62a87900438a8a09dea42889e (patch)
treea855fbf8d18eeeef772f2e00ad0398b44171367a /src/core/unit.h
parent10f28641115733c61754342d5dcbe70b083bea4b (diff)
downloadsystemd-527ede0c638b47b62a87900438a8a09dea42889e.tar.gz
core: downgrade CPUQuotaPeriodSec= clamping logs to debug
After the first warning log, further messages are downgraded to LOG_DEBUG.
Diffstat (limited to 'src/core/unit.h')
-rw-r--r--src/core/unit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/unit.h b/src/core/unit.h
index 43cf15715a..4d6e6cf467 100644
--- a/src/core/unit.h
+++ b/src/core/unit.h
@@ -349,6 +349,9 @@ typedef struct Unit {
bool exported_log_rate_limit_interval:1;
bool exported_log_rate_limit_burst:1;
+ /* Whether we warned about clamping the CPU quota period */
+ bool warned_clamping_cpu_quota_period:1;
+
/* When writing transient unit files, stores which section we stored last. If < 0, we didn't write any yet. If
* == 0 we are in the [Unit] section, if > 0 we are in the unit type-specific section. */
signed int last_section_private:2;