changeset 79:831d0b46bbd2 stable-1-0-18

add more logging when blocked addresses move to higher scale values
author Carl Byington <carl@five-ten-sg.com>
date Wed, 15 Jul 2020 14:22:37 -0700
parents fadead7c9142
children 858aec84fe13
files src/syslogconfig.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/syslogconfig.cpp	Wed Jul 15 14:07:25 2020 -0700
+++ b/src/syslogconfig.cpp	Wed Jul 15 14:22:37 2020 -0700
@@ -90,7 +90,7 @@
                     b.count += amount;
                     int threshold = con.get_threshold();
                     if (b.blocked) {
-                        int effective_scale = 1;
+                        int effective_scale = 2;
                         while (original_amount * effective_scale < b.count) {
                             effective_scale = effective_scale * 3 / 2;
                         }