blob: 52169c3f8e5b128369e5f19d50b134dc94e479a5 [file] [log] [blame]
Guido van Rossum3317a132013-11-01 14:12:50 -07001# After the connection is lost, log warnings after this many write()s.
Guido van Rossum27b7c7e2013-10-17 13:40:50 -07002LOG_THRESHOLD_FOR_CONNLOST_WRITES = 5
Guido van Rossum3317a132013-11-01 14:12:50 -07003
4# Seconds to wait before retrying accept().
5ACCEPT_RETRY_DELAY = 1
Antoine Pitrou921e9432017-11-07 17:23:29 +01006
7# Number of stack entries to capture in debug mode.
Barry Warsawc060c7e2017-11-07 09:05:15 -08008# The larger the number, the slower the operation in debug mode
Andrew Svetlovf74ef452017-12-15 07:04:38 +02009# (see extract_stack() in format_helpers.py).
Antoine Pitrou921e9432017-11-07 17:23:29 +010010DEBUG_STACK_DEPTH = 10