summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-10-15 11:48:43 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-10-15 11:48:43 +0200
commit25a8496a6ae79480e8601cbdab5b45ad613a8dcd (patch)
treee37b46f83f1526b6f71ac94cd307381be5581517 /runtime
parent3806643baa9fe0d50fb36080e4ab3a078b8a5952 (diff)
downloadrsyslog-25a8496a6ae79480e8601cbdab5b45ad613a8dcd.tar.gz
rsyslog-25a8496a6ae79480e8601cbdab5b45ad613a8dcd.tar.bz2
rsyslog-25a8496a6ae79480e8601cbdab5b45ad613a8dcd.zip
imudp: add input batching & ratelimiter interface
Diffstat (limited to 'runtime')
-rw-r--r--runtime/ratelimit.c1
-rw-r--r--runtime/rsyslog.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/runtime/ratelimit.c b/runtime/ratelimit.c
index 6b637677..2df5f78a 100644
--- a/runtime/ratelimit.c
+++ b/runtime/ratelimit.c
@@ -122,6 +122,7 @@ ratelimitMsg(ratelimit_t *ratelimit, msg_t *pMsg, msg_t **ppRepMsg)
*ppRepMsg = ratelimitGenRepMsg(ratelimit);
ratelimit->nsupp = 0;
}
+ msgDestruct(&ratelimit->pMsg);
}
ratelimit->pMsg = MsgAddRef(pMsg);
}
diff --git a/runtime/rsyslog.h b/runtime/rsyslog.h
index 4404c475..e6238c23 100644
--- a/runtime/rsyslog.h
+++ b/runtime/rsyslog.h
@@ -69,6 +69,7 @@
* approach taken here is considered appropriate.
* rgerhards, 2010-06-24
*/
+#define CONF_NUM_MULTISUB 1024 /* default number of messages per multisub structure */
/* ############################################################# *
* # End Config Settings # *