Skip to content

Conversation

@thewhaleking
Copy link
Collaborator

A bug can occur to where if a reconnection is triggered, but there's nothing in the queue, ASI will continually reconnect with nothing ever able to reset its attempts counter (because nothing is being requested from the chain). This is not normally an issue, but can occur in rare cases.

This gets around it by only triggering the TimeoutError if there's something (ANYTHING) being waited for.

@thewhaleking thewhaleking requested a review from a team November 24, 2025 18:05
@github-actions github-actions bot added run-bittensor-cli-tests Runs BTCLI tests. run-bittensor-sdk-tests Runs Bittensor SDK tests. labels Nov 24, 2025
@thewhaleking thewhaleking merged commit 7326628 into staging Nov 24, 2025
56 checks passed
@thewhaleking thewhaleking deleted the fix/thewhaleking/no-continual-reconnection branch November 24, 2025 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-bittensor-cli-tests Runs BTCLI tests. run-bittensor-sdk-tests Runs Bittensor SDK tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants