Browse Source

fix bug

pull/3/MERGE
CalvinKirs 4 years ago
parent
commit
a63c2c6cbb
  1. 2
      dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/rpc/future/RpcFuture.java

2
dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/rpc/future/RpcFuture.java

@ -51,7 +51,7 @@ public class RpcFuture implements Future<Object> {
@Override
public RpcResponse get() throws InterruptedException, ExecutionException {
latch.await(-1, TimeUnit.SECONDS);
latch.await(5, TimeUnit.SECONDS);
return response;
}

Loading…
Cancel
Save