Skip to content

Conversation

@moodyjon
Copy link
Contributor

@moodyjon moodyjon commented Dec 6, 2022

Fixes #3699

sleep_delay seemed to not work as originally intended --- the asyncio.sleep(30) was always a fixed delay.

@coveralls
Copy link

coveralls commented Dec 6, 2022

Coverage Status

Coverage decreased (-0.06%) to 56.581% when pulling 154921a on moodyjon:network_loop1 into 6258651 on lbryio:master.

Correct sleep_delay logic to make it back off exponentially.
Add small random jitter to sleep_delay so reconnects don't
all happen at the same time when SPV goes down.
…ished.

Tweak sleep_delay logic so failures during initial RPC sequence also back off.
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.

client stops retrying hub connections

3 participants