Don't set socket timeout

This commit is contained in:
Neil Booth 2016-12-10 13:39:46 +09:00
parent 89d83349e1
commit c6093639b5

View File

@ -189,7 +189,6 @@ class JSONRPC(asyncio.Protocol, LoggedClass):
self.transport = transport
self.peer_info = transport.get_extra_info('peername')
self.socket = transport.get_extra_info('socket')
self.socket.settimeout(10)
def connection_lost(self, exc):
'''Handle client disconnection.'''