Commit efa1ba2b authored by shajiaming's avatar shajiaming

查询交易错误超时后删除cache

parent 46373e98
...@@ -102,6 +102,8 @@ class CrossChainController extends Controller ...@@ -102,6 +102,8 @@ class CrossChainController extends Controller
if (($current_time - $cache_error_time) < 60) { if (($current_time - $cache_error_time) < 60) {
continue; continue;
} }
$redis->hdel(CoinCrossChain::CROSS_CHAIN_CACHE_FAIL, $val['address'] . ':' . $val['is_with_draw']);
$msg = $result['msg']; $msg = $result['msg'];
$query_result = $result['code']; $query_result = $result['code'];
goto doEnd; goto doEnd;
......
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