test_socketserver.py: reduced socket timeout from 20 to 5
This commit is contained in:
@@ -35,7 +35,7 @@ class MyMixinServer:
|
|||||||
|
|
||||||
teststring = "hello world\r\n"
|
teststring = "hello world\r\n"
|
||||||
|
|
||||||
def receive(sock, n, timeout=20):
|
def receive(sock, n, timeout=5):
|
||||||
#print 'select args: ', [sock], [], [], timeout
|
#print 'select args: ', [sock], [], [], timeout
|
||||||
r, w, x = select.select([sock], [], [], timeout)
|
r, w, x = select.select([sock], [], [], timeout)
|
||||||
#print 'select results: ', r, w, x
|
#print 'select results: ', r, w, x
|
||||||
|
Reference in New Issue
Block a user