-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
morph: drop inactive client mode, fix #2797
Reconnect indefinitely. After the initial probe this should be the behavior for client, we can not work without blockchain data so we must wait for it as long as needed, not entering any "inactive" state where the node pretends to be alive, but can't do anything. This makes client context (including everything belonging to it) an atomically updated thing, regular calls fetch it when needed and can break if there are no current connection. Meanwhile notification processing thread can reconnect when needed and restore functionality. Signed-off-by: Roman Khimov <roman@nspcc.ru>
- Loading branch information
1 parent
70cd3af
commit 5ec3d5a
Showing
10 changed files
with
348 additions
and
458 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
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
Oops, something went wrong.