Skip to content

Commit

Permalink
Fix #846 RTMClient does not pass timeout value to WebClient
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed Oct 22, 2020
1 parent 139f26c commit 8f9e9d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions slack_sdk/rtm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ def __init__(
self._web_client = WebClient(
token=self.token,
base_url=self.base_url,
timeout=self.timeout,
ssl=self.ssl,
proxy=self.proxy,
run_async=self.run_async,
Expand Down Expand Up @@ -530,6 +531,7 @@ async def _retrieve_websocket_info(self):
self._web_client = WebClient(
token=self.token,
base_url=self.base_url,
timeout=self.timeout,
ssl=self.ssl,
proxy=self.proxy,
run_async=True,
Expand Down

0 comments on commit 8f9e9d5

Please sign in to comment.