diff options
author | Daniel Salzman <daniel.salzman@nic.cz> | 2024-11-27 19:39:32 +0100 |
---|---|---|
committer | Daniel Salzman <daniel.salzman@nic.cz> | 2024-11-27 19:39:32 +0100 |
commit | 16701a2f5199399d081f04f3415981a2f3030856 (patch) | |
tree | f6d4678d460152709ebae3a9626b1bd0de74d9e1 | |
parent | kdig: remove redundant warning about timeout at QUIC connection (diff) | |
download | knot-16701a2f5199399d081f04f3415981a2f3030856.tar.xz knot-16701a2f5199399d081f04f3415981a2f3030856.zip |
mod-rrl: change default log-period to 30 seconds
-rw-r--r-- | src/knot/modules/rrl/rrl.c | 2 | ||||
-rw-r--r-- | src/knot/modules/rrl/rrl.rst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/knot/modules/rrl/rrl.c b/src/knot/modules/rrl/rrl.c index d1ec7b585..17e773812 100644 --- a/src/knot/modules/rrl/rrl.c +++ b/src/knot/modules/rrl/rrl.c @@ -37,7 +37,7 @@ const yp_item_t rrl_conf[] = { { MOD_SLIP, YP_TINT, YP_VINT = { 0, 100, 1 } }, { MOD_TBL_SIZE, YP_TINT, YP_VINT = { 1, INT32_MAX, 524288 } }, { MOD_WHITELIST, YP_TNET, YP_VNONE, YP_FMULTI }, - { MOD_LOG_PERIOD, YP_TINT, YP_VINT = { 0, INT32_MAX, 0 } }, + { MOD_LOG_PERIOD, YP_TINT, YP_VINT = { 0, INT32_MAX, 30000 } }, { MOD_DRY_RUN, YP_TBOOL, YP_VNONE }, { NULL } }; diff --git a/src/knot/modules/rrl/rrl.rst b/src/knot/modules/rrl/rrl.rst index 85c8d3554..2b558d6c7 100644 --- a/src/knot/modules/rrl/rrl.rst +++ b/src/knot/modules/rrl/rrl.rst @@ -223,7 +223,7 @@ and sources with more blocked queries have greater probability to be chosen. The approach is used by counting-based and time-based limiting separately, so you can expect one message per `log-period` from each of them. -*Default:* ``0`` (disabled) +*Default:* ``30000`` (milliseconds) .. _mod-rrl_dry-run: |