Skip to content

Commit

Permalink
Fix that hasn't made it into main codebase yet. See miyakogi#160
Browse files Browse the repository at this point in the history
It's to stop getting this error miyakogi#252
  • Loading branch information
PMK9 committed Oct 19, 2019
1 parent 743e2e4 commit eed1c84
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 eed1c84

Please sign in to comment.