From 1745fa70e79e16954e8c0eb4c9c9b80eb9d5bfc0 Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Fri, 6 May 2016 21:03:16 +0000 Subject: [PATCH] core: dump TriggerLimitIntervalSec and TriggerLimitBurst too --- src/core/socket.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/core/socket.c b/src/core/socket.c index 016df40..d4b409e 100644 --- a/src/core/socket.c +++ b/src/core/socket.c @@ -690,6 +690,12 @@ static void socket_dump(Unit *u, FILE *f, const char *prefix) { fprintf(f, "%sListenFIFO: %s\n", prefix, p->path); } + fprintf(f, + "%sTriggerLimitIntervalSec: %s\n" + "%sTriggerLimitBurst: %u\n", + prefix, format_timespan(time_string, FORMAT_TIMESPAN_MAX, s->trigger_limit.interval, USEC_PER_SEC), + prefix, s->trigger_limit.burst); + exec_context_dump(&s->exec_context, f, prefix); kill_context_dump(&s->kill_context, f, prefix); -- 2.7.4