diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-10-18 18:28:05 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-10-18 18:28:05 +0200 |
commit | 83d2e1945959b02f63943804ed67ed156d43aa62 (patch) | |
tree | d49e819ce8f6b2db2fe52fe6e5235fdd459e33ad | |
parent | e787076812c037e541da8e3cab28efbc5a1d634f (diff) | |
download | rsyslog-83d2e1945959b02f63943804ed67ed156d43aa62.tar.gz rsyslog-83d2e1945959b02f63943804ed67ed156d43aa62.tar.bz2 rsyslog-83d2e1945959b02f63943804ed67ed156d43aa62.zip |
omruleset: update to new message submit APIs/ratelimiter
... with the notable exception, that this module actualy needs
no rate-limiter by design!
-rw-r--r-- | plugins/omruleset/omruleset.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/omruleset/omruleset.c b/plugins/omruleset/omruleset.c index 6c770c94..fd002265 100644 --- a/plugins/omruleset/omruleset.c +++ b/plugins/omruleset/omruleset.c @@ -120,7 +120,11 @@ CODESTARTdoAction (char*) pData->pszRulesetName, pData->pRuleset); MsgSetFlowControlType(pMsg, eFLOWCTL_NO_DELAY); MsgSetRuleset(pMsg, pData->pRuleset); - submitMsg(pMsg); + /* Note: we intentionally use submitMsg2() here, as we process messages + * that were already run through the rate-limiter. So it is (at least) + * questionable if they were rate-limited again. + */ + submitMsg2(pMsg); finalize_it: ENDdoAction |