summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-01-16 17:58:57 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-01-16 17:58:57 +0100
commit76c4d6b951453078ab53bf612caf0b8ec9d54bb8 (patch)
treef0430fb2bfd1360da73113fc78e7c6200a74937a /plugins
parent167192666ba8905b83210ab7c5f00cc6be9f7147 (diff)
downloadrsyslog-76c4d6b951453078ab53bf612caf0b8ec9d54bb8.tar.gz
rsyslog-76c4d6b951453078ab53bf612caf0b8ec9d54bb8.tar.xz
rsyslog-76c4d6b951453078ab53bf612caf0b8ec9d54bb8.zip
$IMUXSockRateLimitInterval DEFAULT CHANGED, was 5, now 0
The new default turns off rate limiting. This was chosen as people experienced problems with rate-limiting activated by default. Now it needs an explicit opt-in by setting this parameter. Thanks to Chris Gaffney for suggesting to make it opt-in; thanks to many unnamed others who already had complained at the time Chris made the suggestion ;-)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/imuxsock/imuxsock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/imuxsock/imuxsock.c b/plugins/imuxsock/imuxsock.c
index 14d8b594..403173e1 100644
--- a/plugins/imuxsock/imuxsock.c
+++ b/plugins/imuxsock/imuxsock.c
@@ -165,7 +165,7 @@ static int bAnnotate = 0; /* annotate trusted properties */
static int bAnnotateSysSock = 0; /* same, for system log socket */
#define DFLT_bCreatePath 0
static int bCreatePath = DFLT_bCreatePath; /* auto-create socket path? */
-#define DFLT_ratelimitInterval 5
+#define DFLT_ratelimitInterval 0
static int ratelimitInterval = DFLT_ratelimitInterval; /* interval in seconds, 0 = off */
static int ratelimitIntervalSysSock = DFLT_ratelimitInterval;
#define DFLT_ratelimitBurst 200