constants.py 195 Bytes
Newer Older
1 2
"""Constants."""

3
# After the connection is lost, log warnings after this many write()s.
4
LOG_THRESHOLD_FOR_CONNLOST_WRITES = 5
5 6 7

# Seconds to wait before retrying accept().
ACCEPT_RETRY_DELAY = 1