-
Notifications
You must be signed in to change notification settings - Fork 8
Set timeout for parse request #78
Comments
Different gRPC clients have different approaches for handling timing issues, as noted in official doc. Java client, that Scala uses underneath, has only a concept of Current impl of the scala-client use the defaults from io/grpc/CallOptions.java#L44 which AFAIK do not set any deadline for each request. So the simplest thing we could do here is to expose such Let me know if that would help.
From the analysis of the batch processing logs discussed elsewhere, it seems that the Deadline solution might not help as a solution, as the problem might be in But please, let me know if there any particular files that reproduce the deadline exception. |
|
All the information above is related to grpc timeout/deadline which will only be working after a migration to v2 protocol, that is currently "on hold" in #76. For the v1 that Scala client uses right now, we expose a In this issue I'm going to make it configurable by the client in v1. This should reach the desired effect for current state of affairs. |
Test case:
|
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
I'm running analyzis on many files some of them are big.
I see quite many
errors.
I would prefer to process slower but avoid these errors.
Timeout future similar to client-go could help here.
The text was updated successfully, but these errors were encountered: