Shorten default wait time so it fails faster

This commit is contained in:
Jake Howard 2018-12-08 13:03:35 +00:00
parent 65fd392a70
commit cd8cb8eac9
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -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: