Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ensure we back off for longer when out of slots #57

Merged
merged 1 commit into from
Oct 24, 2022
Merged

Conversation

bdraco
Copy link
Member

@bdraco bdraco commented Oct 24, 2022

backoff time was not being set since exception was not yet wrapped

backoff time was not being set since exception was not yet wrapped
@bdraco bdraco merged commit efeced3 into main Oct 24, 2022
@bdraco bdraco deleted the slots_Fix branch October 24, 2022 16:20
@bdraco
Copy link
Member Author

bdraco commented Oct 24, 2022

2022-10-24 11:21:37.931 DEBUG (MainThread) [bleak_retry_connector] Eve Room 0881 [EB:4A:D4:93:68:EF] (id=6C:D6:F8:C8:96:56) - EB:4A:D4:93:68:EF: Connecting (attempt: 2, last rssi: -57)
2022-10-24 11:21:37.931 DEBUG (MainThread) [bleak_retry_connector] Eve Room 0881 [EB:4A:D4:93:68:EF] (id=6C:D6:F8:C8:96:56) - EB:4A:D4:93:68:EF: Failed to connect: No backend with an available connection slot that can reach address EB:4A:D4:93:68:EF was found, backing off: 1.5 (attempt: 2, last rssi: -57)
2022-10-24 11:21:37.934 DEBUG (MainThread) [bleak_retry_connector] Eve Room 0881 [EB:4A:D4:93:68:EF] (id=6C:D6:F8:C8:96:56) - EB:4A:D4:93:68:EF: Connecting (attempt: 3, last rssi: -57)
2022-10-24 11:21:37.934 DEBUG (MainThread) [bleak_retry_connector] Eve Room 0881 [EB:4A:D4:93:68:EF] (id=6C:D6:F8:C8:96:56) - EB:4A:D4:93:68:EF: Failed to connect: No backend with an available connection slot that can reach address EB:4A:D4:93:68:EF was found, backing off: 1.5 (attempt: 3, last rssi: -57)
2022-10-24 11:21:37.937 DEBUG (MainThread) [bleak_retry_connector] Eve Room 0881 [EB:4A:D4:93:68:EF] (id=6C:D6:F8:C8:96:56) - EB:4A:D4:93:68:EF: Connecting (attempt: 4, last rssi: -57)
2022-10-24 11:21:37.937 DEBUG (MainThread) [bleak_retry_connector] Eve Room 0881 [EB:4A:D4:93:68:EF] (id=6C:D6:F8:C8:96:56) - EB:4A:D4:93:68:EF: Failed to connect: No backend with an available connection slot that can reach address EB:4A:D4:93:68:EF was found, backing off: 1.5 (attempt: 4, last rssi: -57)
2022-10-24 11:21:37.939 DEBUG (MainThread) [bleak_retry_connector] Eve Room 0881 [EB:4A:D4:93:68:EF] (id=6C:D6:F8:C8:96:56) - EB:4A:D4:93:68:EF: Connecting (attempt: 5, last rssi: -57)
2022-10-24 11:21:37.940 DEBUG (MainThread) [bleak_retry_connector] Eve Room 0881 [EB:4A:D4:93:68:EF] (id=6C:D6:F8:C8:96:56) - EB:4A:D4:93:68:EF: Failed to connect: No backend with an available connection slot that can reach address EB:4A:D4:93:68:EF was found, backing off: 1.5 (attempt: 5, last rssi: -57)

Looks like we aren't actually backing off though

It is calculating it right now though

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.

1 participant