@@ -414,6 +414,12 @@ def process_audit_collect(request):
|
||||
[c.get('MCHID') for c in prefer_cfgs],
|
||||
)
|
||||
mch_cfgs = prefer_cfgs
|
||||
elif failed_mchs and not prefer_cfgs:
|
||||
# 可用商户都失败过:仍按原序再试一轮(例如限额日切后可能恢复)
|
||||
logger.warning(
|
||||
'可用商户均曾失败,按原序再试 shenhe=%s failed=%s',
|
||||
shenhe_danhao, sorted(failed_mchs),
|
||||
)
|
||||
_log_wx_collect(
|
||||
'开始轮换',
|
||||
shenhe=shenhe_danhao,
|
||||
|
||||
Reference in New Issue
Block a user