Use a more conservative default for socket timeout (Fixes #130)

This commit is contained in:
Miguel Grinberg
2023-04-24 18:19:41 +01:00
parent 87cd098f66
commit 239cf4ff37

View File

@@ -308,8 +308,9 @@ class Request():
#: Specify a suggested read timeout to use when reading the request. Set to
#: 0 to disable the use of a timeout. This timeout should be considered a
#: suggestion only, as some platforms may not support it.
socket_read_timeout = 0.1
#: suggestion only, as some platforms may not support it. The default is
#: 1 second.
socket_read_timeout = 1
class G:
pass