Skip to content

Commit

Permalink
Changes from comments on PR ethereum#3048
Browse files Browse the repository at this point in the history
  • Loading branch information
fselmo committed Jul 24, 2023
1 parent 62366e9 commit 8787e4f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/providers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,10 @@ WebsocketProviderV2 (beta)
>>> LOG = True # toggle debug logging
>>> if LOG:
>>> import logging
>>> logger = logging.getLogger("web3.providers.WebsocketProviderV2")
>>> logger.setLevel(logging.DEBUG)
>>> logger.addHandler(logging.StreamHandler())
... import logging
... logger = logging.getLogger("web3.providers.WebsocketProviderV2")
... logger.setLevel(logging.DEBUG)
... logger.addHandler(logging.StreamHandler())
>>> async def ws_v2_subscription_example():
... async with AsyncWeb3.persistent_websocket(
Expand Down
1 change: 1 addition & 0 deletions web3/providers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class BaseProvider:
)

is_async = False
has_persistent_connection = False
global_ccip_read_enabled: bool = True
ccip_read_max_redirects: int = 4

Expand Down

0 comments on commit 8787e4f

Please sign in to comment.