fix systemd-units func expiration time (#16393)
Ilya Mashchenko committed
Nov 12, 2023 at 21:21 UTC
50621be70ec33935caee79a0159a3b1e152a4755
1 file changed
+1
-1
collectors/systemd-journal.plugin/systemd-units.c
+1
-1
@@ -1957,7 +1957,7 @@ void function_systemd_units(const char *transaction, char *function, int timeout
1957
buffer_json_finalize(wb);
1958
1959
netdata_mutex_lock(&stdout_mutex);
1960
- pluginsd_function_result_to_stdout(transaction, HTTP_RESP_OK, "application/json", now_realtime_sec() + 3600, wb);
1960
+ pluginsd_function_result_to_stdout(transaction, HTTP_RESP_OK, "application/json", now_realtime_sec() + 1, wb);
1961
netdata_mutex_unlock(&stdout_mutex);
1962
1963
buffer_free(wb);