Skip to content

Commit

Permalink
Update roles/rsyslog/templates/input_basics.j2
Browse files Browse the repository at this point in the history
Co-authored-by: Richard Megginson <[email protected]>
  • Loading branch information
brakkio86 and richm authored Dec 7, 2023
1 parent 2605886 commit e92b552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/rsyslog/templates/input_basics.j2
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module(load="imuxsock" # provides support for local system logging (e.g. via
module(load="imjournal"
StateFile="{{ __rsyslog_work_dir }}/imjournal.state"
RateLimit.Interval="{{ __rsyslog_input.ratelimit_interval | d(600) }}"
{% if __rsyslog_input.ratelimit_interval is defined and __rsyslog_input.ratelimit_interval > 0 %}
{% if __rsyslog_input.ratelimit_interval | d(0) > 0 %}
RateLimit.Burst="{{ __rsyslog_input.ratelimit_burst | d(20000) }}"
{% endif %}
PersistStateInterval="{{ __rsyslog_input.journal_persist_state_interval | d(10) }}")
Expand Down

0 comments on commit e92b552

Please sign in to comment.