diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-06-09 14:34:35 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-06-09 14:34:35 +0200 |
commit | 395660f462c62029f76b99f73bd9a424a8cf73a2 (patch) | |
tree | df9a6b81f4ac86867092fcf953c09760b741901c /tools | |
parent | 11bd517465360278b270ee7c18607b4d1d97e44e (diff) | |
download | rsyslog-395660f462c62029f76b99f73bd9a424a8cf73a2.tar.gz rsyslog-395660f462c62029f76b99f73bd9a424a8cf73a2.tar.xz rsyslog-395660f462c62029f76b99f73bd9a424a8cf73a2.zip |
somewhat improved direct mode queue performance
... but only for batch enqueues. This will not help much with
the current code, but will play well with upcoming changes.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/syslogd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/syslogd.c b/tools/syslogd.c index dfbd184b..94e8346d 100644 --- a/tools/syslogd.c +++ b/tools/syslogd.c @@ -735,7 +735,7 @@ multiSubmitMsg(multi_submit_t *pMultiSub) pRuleset = MsgGetRuleset(pMultiSub->ppMsgs[0]); pQueue = (pRuleset == NULL) ? pMsgQueue : ruleset.GetRulesetQueue(pRuleset); - iRet = qqueueMultiEnqObj(pQueue, pMultiSub); + iRet = pQueue->MultiEnq(pQueue, pMultiSub); pMultiSub->nElem = 0; finalize_it: |