summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@netdata.cloud>2023-10-14 13:57:44 +0100
committerGitHub <noreply@github.com>2023-10-14 15:57:44 +0300
commitb1121d4e02bd62a150e5cab849778624c67db2ea (patch)
tree7aae3b2782d040c68b5543d3e4f57647e6fa3a4c
parent2084dc70e15790f04dee9d8e0dda6b3cc1c5c768 (diff)
systemd-journal timeout to 55 secs (#16194)
Update systemd-journal.c
-rw-r--r--collectors/systemd-journal.plugin/systemd-journal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/collectors/systemd-journal.plugin/systemd-journal.c b/collectors/systemd-journal.plugin/systemd-journal.c
index e9d9e5e783..94d47ae779 100644
--- a/collectors/systemd-journal.plugin/systemd-journal.c
+++ b/collectors/systemd-journal.plugin/systemd-journal.c
@@ -101,7 +101,7 @@ int fstat64(int fd, struct stat64 *buf) {
#define SYSTEMD_JOURNAL_FUNCTION_DESCRIPTION "View, search and analyze systemd journal entries."
#define SYSTEMD_JOURNAL_FUNCTION_NAME "systemd-journal"
-#define SYSTEMD_JOURNAL_DEFAULT_TIMEOUT 60
+#define SYSTEMD_JOURNAL_DEFAULT_TIMEOUT 55
#define SYSTEMD_JOURNAL_MAX_PARAMS 100
#define SYSTEMD_JOURNAL_DEFAULT_QUERY_DURATION (1 * 3600)
#define SYSTEMD_JOURNAL_DEFAULT_ITEMS_PER_QUERY 200