mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-18 08:40:42 +01:00
bugfix: action resume interval incorrectly handled, thus took longer to resume
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
This commit is contained in:
parent
ffa6e3b941
commit
9859818ecc
@ -1,6 +1,8 @@
|
||||
---------------------------------------------------------------------------
|
||||
Version 3.22.4 [v3-stable] (rgerhards), 2010-??-??
|
||||
- bugfix: cosmetic proper constant used instead of number in open call
|
||||
- bugfix: action resume interval incorrectly handled, thus took longer to
|
||||
resume
|
||||
- bugfix: cosmetic: proper constant used instead of number in open call
|
||||
- bugfix: timestamp was incorrectly calculated for timezones with minute
|
||||
offset
|
||||
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=271
|
||||
|
||||
2
action.c
2
action.c
@ -355,7 +355,7 @@ static rsRetVal actionTryResume(action_t *pThis)
|
||||
ttNow = getActNow(pThis); /* cache "now" */
|
||||
|
||||
/* first check if it is time for a re-try */
|
||||
if(ttNow > pThis->ttResumeRtry) {
|
||||
if(ttNow >= pThis->ttResumeRtry) {
|
||||
iRet = pThis->pMod->tryResume(pThis->pModData);
|
||||
if(iRet == RS_RET_SUSPENDED) {
|
||||
/* set new tryResume time */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user