diff options
author | Tomas Heinrich <theinric@redhat.com> | 2011-10-13 10:43:59 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-10-13 10:43:59 +0200 |
commit | 8dd9959735014aab70a65a9e8832cd1818ba210d (patch) | |
tree | 1b4824cd1d523aa20a0dcca310f6af7738c4e9cb | |
parent | 086db18cc304c9aff082e8ee4adfdadeacfa5c39 (diff) | |
download | rsyslog-8dd9959735014aab70a65a9e8832cd1818ba210d.tar.gz rsyslog-8dd9959735014aab70a65a9e8832cd1818ba210d.tar.xz rsyslog-8dd9959735014aab70a65a9e8832cd1818ba210d.zip |
bugfix: $ActionExecOnlyOnce interval did not work properly
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | action.c | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,7 @@ --------------------------------------------------------------------------- Version 4.8.1 [v4-beta], 2011-09-?? +- bugfix: $ActionExecOnlyOnce interval did not work properly + Thanks to Tomas Heinrich for the patch - bugfix: potential abort if ultra-large file io buffers are used and dynafile cache exhausts address space (primarily a problem on 32 bit platforms) @@ -716,7 +716,6 @@ actionWriteToAction(action_t *pAction) DBGPRINTF("action not yet ready again to be executed, onceInterval %d, tCurr %d, tNext %d\n", (int) pAction->iSecsExecOnceInterval, (int) getActNow(pAction), (int) (pAction->iSecsExecOnceInterval + pAction->tLastExec)); - pAction->tLastExec = getActNow(pAction); /* re-init time flags */ FINALIZE; } |