Skip to content

Conversation

thewhaleking
Copy link
Contributor

Companion to opentensor/async-substrate-interface#138 which exposes the ws_shutdown_timer arg to AsyncSubstrateInterface

@thewhaleking thewhaleking requested a review from a team June 11, 2025 20:11
@@ -119,6 +119,7 @@ def __init__(
retry_forever: bool = False,
_mock: bool = False,
archive_endpoints: Optional[list[str]] = None,
websocket_shutdown_timer: float = 5.0,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we want to add this parameter into SubtensorApi to pass it into AsyncSubtensor initialization?

@@ -78,11 +80,13 @@ def __init__(
log_verbose: bool = False,
mock: bool = False,
archive_endpoints: Optional[list[str]] = None,
websocket_shutdown_timer: float = 5.0,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thewhaleking thewhaleking merged commit 8fbf49b into feat/thewhaleking/retry-archive-node-support Jun 18, 2025
16 checks passed
@thewhaleking thewhaleking deleted the feat/thewhaleking/new-websockets-option branch June 18, 2025 16:38
@ibraheem-abe ibraheem-abe mentioned this pull request Jul 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants