summaryrefslogtreecommitdiffstats
path: root/collectors/systemd-journal.plugin/systemd-journal.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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);