summaryrefslogtreecommitdiffstats
path: root/collectors/systemd-journal.plugin/systemd-journal.c
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@netdata.cloud>2023-08-21 11:19:32 +0300
committerGitHub <noreply@github.com>2023-08-21 11:19:32 +0300
commitb090c9f80b64005003294d4b8390bd9b6cf0aecf (patch)
tree43f4a034eb0badb905cc7f98b5c6f78e22ff3ae1 /collectors/systemd-journal.plugin/systemd-journal.c
parentc26af4455223d7d0f8964e408d4ca02e78b710df (diff)
Fix static build SSL (#15842)
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 1b7357099f..4579d19c07 100644
--- a/collectors/systemd-journal.plugin/systemd-journal.c
+++ b/collectors/systemd-journal.plugin/systemd-journal.c
@@ -546,6 +546,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);