You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
niklasad1
changed the title
server: synronnization of ping/pong mechanism
server: add synchronization of ping/pong mechanism
Jul 31, 2024
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)
The text was updated successfully, but these errors were encountered: