From 25a8496a6ae79480e8601cbdab5b45ad613a8dcd Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 15 Oct 2012 11:48:43 +0200 Subject: imudp: add input batching & ratelimiter interface --- runtime/ratelimit.c | 1 + runtime/rsyslog.h | 1 + 2 files changed, 2 insertions(+) (limited to 'runtime') 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 # * -- cgit v1.2.3