Commit 7f743a8c authored by juga's avatar juga
Browse files

relayprioritizer: comment debug log, too many lines

After several iterations, the number of relays that are prioritized
is high, this log prints so many lines.
parent ce08884f
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -82,10 +82,10 @@ class RelayPrioritizer:
                freshness = result.time - oldest_allowed
                if isinstance(result, ResultError) \
                        and prioritize_result_error is True:
                    log.debug('Cutting freshness for a %s result by %d%% for '
                              '%s', result.type.value,
                              result.freshness_reduction_factor * 100,
                              relay.nickname)
                    # log.debug('Cutting freshness for a %s result by %d%% for'
                    #           ' %s', result.type.value,
                    #           result.freshness_reduction_factor * 100,
                    #           relay.nickname)
                    # result.freshness_reduction_factor are hard-coded values
                    # on how much prioritize measurements that failed
                    # depending on the type of error.