修复#82引入代码导致的单元测试失败的问题

This commit is contained in:
Binary Wang
2016-11-22 14:16:13 +08:00
parent 077f39c1db
commit 33ef6ebbe9
3 changed files with 12 additions and 9 deletions

View File

@@ -368,9 +368,7 @@ public class WxMpServiceImpl implements WxMpService {
return result;
} catch (WxErrorException e) {
WxError error = e.getError();
/**
* -1 系统繁忙, 1000ms后重试
*/
// -1 系统繁忙, 1000ms后重试
if (error.getErrorCode() == -1) {
int sleepMillis = this.retrySleepMillis * (1 << retryTimes);
try {