Skip to content

Commit

Permalink
Set a timeout when connecting to websocket server
Browse files Browse the repository at this point in the history
  • Loading branch information
abitmore authored Sep 11, 2022
1 parent baae29c commit 4b9e9b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions grapheneapi/websocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def connect(self):
if self.proxy_user
else None,
proxy_type=self.proxy_type,
timeout=30
)

if self.user and self.password:
Expand Down

0 comments on commit 4b9e9b3

Please sign in to comment.