mirror of https://github.com/grpc/grpc-java.git
The client can race with the server in cancelling due to deadline. If server cancels we don't get DEADLINE_EXCEEDED, so double-check on client-side to reduce the chances of losing the race. Generally we expect the client to lose the race because of coarse timer granularity for timer expirary. This change does little to help if the server's clock runs noticably "fast" relative to the client. |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle | ||