This commit is contained in:
CalvinKirs 2021-01-25 23:47:07 +08:00
parent ea97ed1781
commit a63c2c6cbb

View File

@ -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;
}