Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 1cad0cd

Browse files
committed
Exponential Backoff Socket Connection to Blockbook
Here is some code that uses the backoff library to exponentially back off when retrying websocket connections to the Blockbook servers. Currently we just infinitely try every 2 seconds and this spikes the CPU dramatically.
1 parent 90350e3 commit 1cad0cd

File tree

1 file changed

+21
-15
lines changed
  • vendor/github.com/OpenBazaar/multiwallet/client/blockbook

1 file changed

+21
-15
lines changed

vendor/github.com/OpenBazaar/multiwallet/client/blockbook/client.go

Lines changed: 21 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)