Shorten default wait time so it fails faster
This commit is contained in:
parent
65fd392a70
commit
cd8cb8eac9
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ import select
|
|||
import ujson
|
||||
|
||||
BUFFER_SIZE = 4096
|
||||
DEFAULT_SOCKET_READ_TIMEOUT = 0.1
|
||||
DEFAULT_SOCKET_READ_TIMEOUT = 0.01
|
||||
|
||||
|
||||
def socket_has_data(sock, timeout=DEFAULT_SOCKET_READ_TIMEOUT) -> bool:
|
||||
|
|
Reference in a new issue