Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RXI-1122 fix history mode after reconnect #110

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

oleks-rip
Copy link
Collaborator

@oleks-rip oleks-rip commented Jun 4, 2024

Currently after reconnect ChainListener reset to history mode and start initialization from the beginning, but Federator - not. So this PR reset ChainListener only if current state is History processing. If not - it will resume processing ledgers from where it stops. So the server will continue like it was additional delay in retrieving ledgers.
Also added fixes to websocket client so it will not try to send messages during reconnect.

@oleks-rip oleks-rip requested a review from seelabs June 4, 2024 01:52
@oleks-rip oleks-rip merged commit e70d832 into ripple:develop Jun 5, 2024
10 checks passed
@oleks-rip oleks-rip deleted the reconnect_fix branch June 5, 2024 15:57
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.

2 participants