Skip to content

Commit

Permalink
apply websocket fix from PR#160
Browse files Browse the repository at this point in the history
  • Loading branch information
Çağatay Çallı committed Sep 8, 2019
1 parent 56f8710 commit fc1b1e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyppeteer/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ def __init__(self, url: str, loop: asyncio.AbstractEventLoop,
self.connection: CDPSession
self._connected = False
self._ws = websockets.client.connect(
self._url, max_size=None, loop=self._loop)
self._url, max_size=None, loop=self._loop,
ping_interval=None, ping_timeout=None)
self._recv_fut = self._loop.create_task(self._recv_loop())
self._closeCallback: Optional[Callable[[], None]] = None

Expand Down

0 comments on commit fc1b1e8

Please sign in to comment.