2013-11-01 21:12:50 +00:00
|
|
|
# After the connection is lost, log warnings after this many write()s.
|
2013-10-17 20:40:50 +00:00
|
|
|
LOG_THRESHOLD_FOR_CONNLOST_WRITES = 5
|
2013-11-01 21:12:50 +00:00
|
|
|
|
|
|
|
# Seconds to wait before retrying accept().
|
|
|
|
ACCEPT_RETRY_DELAY = 1
|
2017-11-07 16:23:29 +00:00
|
|
|
|
|
|
|
# Number of stack entries to capture in debug mode.
|
2017-11-07 17:05:15 +00:00
|
|
|
# The larger the number, the slower the operation in debug mode
|
2017-12-15 05:04:38 +00:00
|
|
|
# (see extract_stack() in format_helpers.py).
|
2017-11-07 16:23:29 +00:00
|
|
|
DEBUG_STACK_DEPTH = 10
|
2017-12-19 19:45:42 +00:00
|
|
|
|
|
|
|
# Number of seconds to wait for SSL handshake to complete
|
|
|
|
SSL_HANDSHAKE_TIMEOUT = 10.0
|