Commit af17aa9d authored by wlx@33.cn's avatar wlx@33.cn

重试时间加长为20s

parent 7ed265e5
......@@ -146,8 +146,11 @@ public class WithdrawConsumer {
String hash = getHash(tranDto);
tranDto.setHash(hash);
}
/**
* 重试时间加长为20s
*/
msgProducer.sendTTL(JSON.toJSONString(tranDto), QueueTTLTypeEnum.ORDER_REFUND_COINS_TTL,
5 * 1000);
20 * 1000);
}
private String getHash(TranDto tranDto) {
......
......@@ -170,8 +170,11 @@ public class UserAssetTransferConsumer {
String hash = getHash(tranDto);
tranDto.setHash(hash);
}
/**
* 重试时间加长为20s
*/
msgProducer.sendTTL(JSON.toJSONString(tranDto), QueueTTLTypeEnum.MALL_USER_ASSET_TRANSFER_TTL,
5 * 1000);
20 * 1000);
}
private String getHash(TranDto tranDto) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment