Searched refs:settimeout (Results 1 – 25 of 36) sorted by relevance
12
44 self.sock.settimeout(7.345)47 self.sock.settimeout(3)50 self.sock.settimeout(None)55 self.sock.settimeout(1)58 self.sock.settimeout(3.9)63 self.sock.settimeout(0)64 self.sock.settimeout(0)65 self.sock.settimeout(0.0)66 self.sock.settimeout(None)67 self.assertRaises(TypeError, self.sock.settimeout, "")[all …]
59 def settimeout(self, timeout): member in MockSocket126 ms.settimeout(timeout)
204 conn.settimeout(self.timeout)214 sock.settimeout(self.timeout)
1416 sock.settimeout(1)1607 c.settimeout(1.5)1805 s.settimeout(1)1807 s.settimeout(0)2825 self.serv_sock.settimeout(self.fail_timeout)2965 self.cli_sock.settimeout(0.03)3111 self.serv_sock.settimeout(0.03)3163 self.serv_sock.settimeout(self.fail_timeout)4459 self.serv.settimeout(self.timeout)4515 self.serv_conn.settimeout(self.timeout)[all …]
40 self.socket.settimeout(0.1)50 request.settimeout(10.0)
330 sock.settimeout(3)782 s.settimeout(.2)
147 sock.settimeout(TIMEOUT)165 sock.settimeout(TIMEOUT)1035 self.sock.settimeout(20)
29 self.sock.settimeout(60) # Safety net. Look issue 11812
484 self.sock.settimeout(60) # Safety net. Look issue 11812
344 server.socket.settimeout(float(1)) # Don't hang if client fails698 serv.socket.settimeout(3)
600 s.settimeout(timeout)2254 s.settimeout(0.0000001)2539 self.sock.settimeout(0.05)3668 c.settimeout(0.2)3678 c.settimeout(0.2)
73 static void settimeout(struct timespec *ts) in settimeout() function100 settimeout(&ts); in client()136 settimeout(&ts); in main()
69 sock.settimeout(timeout)84 sock.settimeout(timeout)258 conn.settimeout(self._timeout)
31 sock.settimeout(2)82 sock.settimeout(2)
225 sock.settimeout(self.TIMEOUT)290 sock.settimeout(self.TIMEOUT)354 sock.settimeout(self.TIMEOUT)444 sock.settimeout(self.TIMEOUT)508 sock.settimeout(self.TIMEOUT)
146 request.settimeout(self.request_timeout)231 request.settimeout(self.request_timeout)
185 def settimeout(self, value): member in TransportSocket
560 conn.settimeout(listener.gettimeout())767 s.settimeout(0)
283 sock.settimeout(self.gettimeout())828 sock.settimeout(timeout)
1005 self.settimeout(sock.gettimeout())1308 self.settimeout(None)1311 self.settimeout(timeout)
321 sock.settimeout(self.timeout)385 conn.settimeout(self.timeout)
766 self.connection.settimeout(self.timeout)
1086 self.sock.settimeout(self.timeout)
238 :meth:`~socket.settimeout`.288 :meth:`~socket.settimeout` (or implicitly through1065 :meth:`~socket.settimeout` for possible values and their respective1315 :meth:`setblocking` or :meth:`settimeout`.1688 This method is a shorthand for certain :meth:`~socket.settimeout` calls:1690 * ``sock.setblocking(True)`` is equivalent to ``sock.settimeout(None)``1692 * ``sock.setblocking(False)`` is equivalent to ``sock.settimeout(0.0)``1699 .. method:: socket.settimeout(value)1818 setting, and in general it is recommended to call :meth:`~socket.settimeout`
323 …Loop]: https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#setimmediate-vs-settimeout