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

server: add synchronization of ping/pong mechanism #1433

Open
niklasad1 opened this issue Jul 31, 2024 · 0 comments
Open

server: add synchronization of ping/pong mechanism #1433

niklasad1 opened this issue Jul 31, 2024 · 0 comments
Assignees

Comments

@niklasad1
Copy link
Member

Currently jsonrpsee doesn't synchronize ping/pong instead it assumes that a pong should be seen at the configured interval however if the server is really busy like handling plenty of concurrent connections/messages.

Then it's possible that send operation takes longer than configured interval and that peer is regarded as inactive.

Thus, we should modify the current implementation such that jsonrpsee measures the time from that the ping is send until the pong received (associate each ping with pong)

@niklasad1 niklasad1 changed the title server: synronnization of ping/pong mechanism server: add synchronization of ping/pong mechanism Jul 31, 2024
@niklasad1 niklasad1 self-assigned this Jul 31, 2024
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 a pull request may close this issue.

1 participant