summaryrefslogtreecommitdiffstats
path: root/collectors/systemd-journal.plugin/systemd-journal.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-09-04 08:57:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-09-04 08:57:49 +0000
commit5f647647b2683875bdbed970d955a9e5123284bd (patch)
tree66dcf1d9f7a60cd19dd9ac410e27d5f6ead521d3 /collectors/systemd-journal.plugin/systemd-journal.c
parentReleasing debian version 1.42.1-1. (diff)
downloadnetdata-5f647647b2683875bdbed970d955a9e5123284bd.tar.xz
netdata-5f647647b2683875bdbed970d955a9e5123284bd.zip
Merging upstream version 1.42.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'collectors/systemd-journal.plugin/systemd-journal.c')
-rw-r--r--collectors/systemd-journal.plugin/systemd-journal.c3
1 files changed, 3 insertions, 0 deletions
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);