SzyWilliam commented on PR #828: URL: https://github.com/apache/ratis/pull/828#issuecomment-1454786117
@szetszwo Indeed the solution mentioned in https://github.com/carl-mastrangelo/grpc-java/commit/4a31a589c98f5f9c6f87206a6cb3c8d43b136924 is a 'ConnectionTimeoutInterceptor', and the deadline ticker will only be started once. I use a scheduleWithFixedDelay to create a deadline checker routine, refreshed every time a new response message is received. This patch passes the tests, see https://issues.apache.org/jira/secure/attachment/13056034/828_test_passed.patch. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
