# HG changeset patch # User Carl Byington # Date 1594848157 25200 # Node ID 831d0b46bbd2881834a66307f8c69730d8dc23af # Parent fadead7c91424177f5dab246e045c8a5582081d0 add more logging when blocked addresses move to higher scale values diff -r fadead7c9142 -r 831d0b46bbd2 src/syslogconfig.cpp --- 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; }