You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #1567: Overhaul stats: Decouple stats and ban service event listeners in udp-tracker-server package
d81e59e fix: [#1565] ban service should work with stats disabled (Jose Celano)
Pull request description:
Fix bug. The ban service should work even when statistics are disabled. There was only one event listener in the UDP tracker server package to update stats and update ban service data (increase banning counters). However, the listener was disabled when stats were not needed.
The ban service should be always be enabled (or at least enable/disable it independently from stats).
The problem has been fixed by creating an independent event listener for the banning service that is always enabled.
In the future, we could add a config option to enable/disable it.
ACKs for top commit:
josecelano:
ACK d81e59e
Tree-SHA512: 46bbbc8fa97be929b9541fa96c953f2d6b9212edb52c95971b6dae0dba4abf3a6b52a931d5570484a80b2a33bf347a97823d15dec9e7a6429c84f4f74eda07fb
0 commit comments