File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -127,18 +127,18 @@ class TCPDispatchClient(SimpleTCPClient):
127127
128128 dispatcher = Dispatcher ()
129129
130- def handle_messages (self , timeout : int = 30 ) -> None :
130+ def handle_messages (self , timeout_sec : int = 30 ) -> None :
131131 """Wait :int:`timeout` seconds for a message from the server and process each message with the registered
132132 handlers. Continue until a timeout occurs.
133133
134134 Args:
135135 timeout: Time in seconds to wait for a message
136136 """
137- r = self .receive (timeout )
137+ r = self .receive (timeout_sec )
138138 while r :
139139 for m in r :
140140 self .dispatcher .call_handlers_for_packet (m , (self .address , self .port ))
141- r = self .receive (timeout )
141+ r = self .receive (timeout_sec )
142142
143143
144144class AsyncTCPClient :
You can’t perform that action at this time.
0 commit comments