修改事务时间

This commit is contained in:
dxc
2021-03-27 15:16:31 +08:00
parent 0a126aa3f9
commit a4f33281f9
2 changed files with 4 additions and 4 deletions

View File

@ -213,7 +213,7 @@ public class ProjectReEvaluationServiceImpl extends BaseServiceImpl<ProjectReEva
@Override @Override
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
@GlobalTransactional(rollbackFor = Exception.class) @GlobalTransactional(rollbackFor = Exception.class,timeoutMills = 60000 * 2)
public boolean callbackApproval(WasUpdateBizDTO dto) { public boolean callbackApproval(WasUpdateBizDTO dto) {
boolean result = false; boolean result = false;
if(StringUtils.equals(EbpProjectCommonUtil.CALLBACK_APPROVAL_STATUS_YES,dto.getAuditState())){ if(StringUtils.equals(EbpProjectCommonUtil.CALLBACK_APPROVAL_STATUS_YES,dto.getAuditState())){

View File

@ -131,12 +131,12 @@ hystrix:
thread: thread:
timeoutInMilliseconds: 200000 #熔断超时时间 timeoutInMilliseconds: 200000 #熔断超时时间
circuitBreaker: circuitBreaker:
sleepWindowInMilliseconds: 20000 sleepWindowInMilliseconds: 200000
forceClosed: true forceClosed: true
ribbon: ribbon:
ReadTimeout: 20000 #请求处理的超时时间 ReadTimeout: 200000 #请求处理的超时时间
ConnectTimeout: 20000 #请求连接超时时间 ConnectTimeout: 200000 #请求连接超时时间
MaxAutoRetries: 0 #对当前实例的重试次数 MaxAutoRetries: 0 #对当前实例的重试次数
MaxAutoRetriesNextServer: 1 #切换实例的重试次数 1 MaxAutoRetriesNextServer: 1 #切换实例的重试次数 1