Skip to content

Conversation

@ali-behjati
Copy link
Collaborator

tokio::select disables the branch that runs the wh connection if it returns OK and it never gets checked again. This change changes the run return to never return OK and does some refactoring as well.

@vercel
Copy link

vercel bot commented Apr 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
example-oracle-amm ⬜️ Ignored (Inspect) Visit Preview Apr 22, 2024 5:06pm
xc-admin-frontend ⬜️ Ignored (Inspect) Visit Preview Apr 22, 2024 5:06pm

@ali-behjati ali-behjati changed the title Hermes/fix ws reconnect fix(hermes): reconnect on wh connection termiantion Apr 22, 2024
@ali-behjati ali-behjati changed the title fix(hermes): reconnect on wh connection termiantion fix(hermes): reconnect on wh connection termination Apr 22, 2024
`tokio::select` disables the branch that runs the wh connection
if it returns OK and it never gets checked again. This change
changes the `run` return to never return OK.
@ali-behjati ali-behjati force-pushed the hermes/fix-ws-reconnect branch from 1537cc4 to 32b1d22 Compare April 22, 2024 17:06
@ali-behjati ali-behjati merged commit f929217 into main Apr 22, 2024
@ali-behjati ali-behjati deleted the hermes/fix-ws-reconnect branch April 22, 2024 17:07
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