summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2023-11-12 21:21:43 +0200
committerGitHub <noreply@github.com>2023-11-12 21:21:43 +0200
commit50621be70ec33935caee79a0159a3b1e152a4755 (patch)
treeacbd9ba32569f3118c7a04734b8964c8f705ead5
parentc4f71a268d54ac601a3888bda0b7e4c946bf8aa8 (diff)
fix systemd-units func expiration time (#16393)
-rw-r--r--collectors/systemd-journal.plugin/systemd-units.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/collectors/systemd-journal.plugin/systemd-units.c b/collectors/systemd-journal.plugin/systemd-units.c
index 7edb70d48d..81cda786fc 100644
--- a/collectors/systemd-journal.plugin/systemd-units.c
+++ b/collectors/systemd-journal.plugin/systemd-units.c
@@ -1957,7 +1957,7 @@ void function_systemd_units(const char *transaction, char *function, int timeout
buffer_json_finalize(wb);
netdata_mutex_lock(&stdout_mutex);
- pluginsd_function_result_to_stdout(transaction, HTTP_RESP_OK, "application/json", now_realtime_sec() + 3600, wb);
+ pluginsd_function_result_to_stdout(transaction, HTTP_RESP_OK, "application/json", now_realtime_sec() + 1, wb);
netdata_mutex_unlock(&stdout_mutex);
buffer_free(wb);