File tree 1 file changed +2
-2
lines changed
binder/src/main/java/io/grpc/binder/internal
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ public static final class Builder implements ClientTransportFactoryBuilder {
127
127
BindServiceFlags bindServiceFlags = BindServiceFlags .DEFAULTS ;
128
128
InboundParcelablePolicy inboundParcelablePolicy = InboundParcelablePolicy .DEFAULT ;
129
129
OneWayBinderProxy .Decorator binderDecorator = OneWayBinderProxy .IDENTITY_DECORATOR ;
130
- long readyTimeoutMillis = - 1 ; // TODO(jdcormie) Set an non-infinite default in a separate PR.
130
+ long readyTimeoutMillis = 60_000 ;
131
131
132
132
@ Override
133
133
public BinderClientTransportFactory buildClientTransportFactory () {
@@ -210,7 +210,7 @@ public Builder setBinderDecorator(OneWayBinderProxy.Decorator binderDecorator) {
210
210
* <a href="https://github.com/grpc/grpc/blob/master/doc/wait-for-ready.md">fail-fast</a> work
211
211
* as expected despite certain edge cases that could otherwise stall the transport indefinitely.
212
212
*
213
- * <p>Optional. Use a negative value to wait indefinitely.
213
+ * <p>Optional but enabled by default . Use a negative value to wait indefinitely.
214
214
*/
215
215
public Builder setReadyTimeoutMillis (long readyTimeoutMillis ) {
216
216
this .readyTimeoutMillis = readyTimeoutMillis ;
You can’t perform that action at this time.
0 commit comments