archive
/
ipc-unix
Archived
1
Fork 0

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
1 changed files with 1 additions and 1 deletions

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: