From 42ad44d1fea072d23f2e0067bca4ba6bc0b2a523 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 4 Sep 2023 10:57:43 +0200 Subject: Adding upstream version 1.42.2. Signed-off-by: Daniel Baumann --- collectors/systemd-journal.plugin/systemd-journal.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'collectors/systemd-journal.plugin') diff --git a/collectors/systemd-journal.plugin/systemd-journal.c b/collectors/systemd-journal.plugin/systemd-journal.c index 0aaa36044..304ff244a 100644 --- a/collectors/systemd-journal.plugin/systemd-journal.c +++ b/collectors/systemd-journal.plugin/systemd-journal.c @@ -540,6 +540,9 @@ int main(int argc __maybe_unused, char **argv __maybe_unused) { error_log_errors_per_period = 100; error_log_throttle_period = 3600; + // initialize the threads + netdata_threads_init_for_external_plugins(0); // set the default threads stack size here + uids = dictionary_create(0); gids = dictionary_create(0); -- cgit v1.2.3