-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: lazy websocket connection (#393)
* feat: lazy websocket connection only create actual websocket connection when there are pending swaps and close it if there are no more pending swaps * chore: add lock to websocket `swapIds`
- Loading branch information
1 parent
91b5ab1
commit 4442b44
Showing
2 changed files
with
184 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters