|
@@ -65,7 +65,7 @@ public class RshyJkManagerImpl implements RshyJkManager {
|
|
@Async("hstTaskExecutor")
|
|
@Async("hstTaskExecutor")
|
|
public Future<RshyVo> getRshyInfo(RshyParam rshyParam) {
|
|
public Future<RshyVo> getRshyInfo(RshyParam rshyParam) {
|
|
// timeout 转成毫秒 这里考虑到网络传输延时等原因,减去300ms
|
|
// timeout 转成毫秒 这里考虑到网络传输延时等原因,减去300ms
|
|
- rshyParam.setTimeout(rshyParam.getTimeout() * 1000 - 300);
|
|
|
|
|
|
+ rshyParam.setTimeout((int) TimeUnit.MILLISECONDS.convert(rshyParam.getTimeout(), TimeUnit.SECONDS) - 300);
|
|
int jkmTimeout = rshyParam.getTimeout();
|
|
int jkmTimeout = rshyParam.getTimeout();
|
|
RshyVo rshyVo = new RshyVo();
|
|
RshyVo rshyVo = new RshyVo();
|
|
PctgkryDTO gkryDTO = new PctgkryDTO();
|
|
PctgkryDTO gkryDTO = new PctgkryDTO();
|