From 5f647647b2683875bdbed970d955a9e5123284bd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 4 Sep 2023 10:57:49 +0200 Subject: Merging 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/systemd-journal.c') 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