Blame SOURCES/rsyslog-8.2102.0-rhbz1886400-reduce-default-timeout.patch

ebbec0
diff -up rsyslog-8.2102.0/plugins/omrelp/omrelp.c.orig rsyslog-8.2102.0/plugins/omrelp/omrelp.c
ebbec0
--- rsyslog-8.2102.0/plugins/omrelp/omrelp.c.orig	2021-06-15 12:46:14.758589030 +0200
ebbec0
+++ rsyslog-8.2102.0/plugins/omrelp/omrelp.c	2021-06-15 12:47:08.130516632 +0200
ebbec0
@@ -303,7 +303,7 @@ ENDfreeCnf
ebbec0
 BEGINcreateInstance
ebbec0
 CODESTARTcreateInstance
ebbec0
 	pData->sizeWindow = 0;
ebbec0
-	pData->timeout = 90;
ebbec0
+	pData->timeout = 5;
ebbec0
 	pData->connTimeout = 10;
ebbec0
 	pData->rebindInterval = 0;
ebbec0
 	pData->bEnableTLS = DFLT_ENABLE_TLS;
ebbec0
@@ -365,7 +365,7 @@ setInstParamDefaults(instanceData *pData
ebbec0
 	pData->target = NULL;
ebbec0
 	pData->port = NULL;
ebbec0
 	pData->tplName = NULL;
ebbec0
-	pData->timeout = 90;
ebbec0
+	pData->timeout = 5;
ebbec0
 	pData->connTimeout = 10;
ebbec0
 	pData->sizeWindow = 0;
ebbec0
 	pData->rebindInterval = 0;