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
Although grpc currently supports configuring onReadyThreshold, the withOnReadyThreshold() method is not provided in AbstractStub
Because the onReadyThreshold property is not copied in the toBuilder() method of CallOptions. Even if onReadyThreshold is configured in the interceptor, it will be overwritten to null in the end.
The text was updated successfully, but these errors were encountered:
hlx502
changed the title
The onReadyThreshold property cannot be configured in the application
The onReadyThreshold property cannot be configured in the application[grpc version: 1.64.0]
Jun 14, 2024
Mind sending a PR? That second part definitely looks like a bug. It doesn't seem stub was discussed earlier; I don't see any evidence it was left out on purpose, other than it wasn't needed/helpful/whatever at the time. It seems fair to include on the stub.
The broken toBuilder() would only matter if something later modified the call options, but gRPC itself will modify the call options at at times...
The text was updated successfully, but these errors were encountered: