1
0

util.NetworkRetryManager: better document API

This commit is contained in:
SomberNight
2023-11-13 12:22:05 +00:00
parent 94b1df4a08
commit e5fae1d685

View File

@@ -1820,7 +1820,8 @@ def event_listener(func):
_NetAddrType = TypeVar("_NetAddrType")
# requirements for _NetAddrType:
# - reasonable __hash__() implementation (e.g. based on host/port of remote endpoint)
class NetworkRetryManager(Generic[_NetAddrType]):
"""Truncated Exponential Backoff for network connections."""