Skip to content

Commit

Permalink
fix timeout (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonrbriggs committed Sep 27, 2015
1 parent 8bf83a7 commit 75b5959
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stomp/transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,8 @@ def attempt_connection(self):
cert_reqs=cert_validation,
ca_certs=ssl_params['ca_certs'],
ssl_version=ssl_params['ssl_version'])
self.socket.settimeout(self.__timeout)

self.socket.settimeout(self.__timeout)

if self.blocking is not None:
self.socket.setblocking(self.blocking)
Expand Down

0 comments on commit 75b5959

Please sign in to comment.