mirror of
https://github.com/alexbers/mtprotoproxy.git
synced 2026-03-14 07:13:09 +00:00
adjust stats duration bucket sizes
This commit is contained in:
@@ -76,10 +76,7 @@ PADDING_FILLER = b"\x04\x00\x00\x00"
|
|||||||
MIN_MSG_LEN = 12
|
MIN_MSG_LEN = 12
|
||||||
MAX_MSG_LEN = 2 ** 24
|
MAX_MSG_LEN = 2 ** 24
|
||||||
|
|
||||||
STAT_DURATION_BUCKETS = [
|
STAT_DURATION_BUCKETS = [0.1, 0.5, 1, 2, 5, 15, 60, 300, 600, 1800, 2**31 - 1]
|
||||||
0.1, 0.25, 0.5, 0.75, 1, 2, 3, 5, 10, 15, 20, 60, 120, 300, 600, 1800, 3600, 7200,
|
|
||||||
3600*24*365*1000
|
|
||||||
]
|
|
||||||
|
|
||||||
my_ip_info = {"ipv4": None, "ipv6": None}
|
my_ip_info = {"ipv4": None, "ipv6": None}
|
||||||
used_handshakes = collections.OrderedDict()
|
used_handshakes = collections.OrderedDict()
|
||||||
|
|||||||
Reference in New Issue
Block a user