优化log

This commit is contained in:
zhangkun9038@dingtalk.com 2025-08-19 03:26:37 +08:00
parent 36e006a8a0
commit 986baf8c11

View File

@ -1694,9 +1694,6 @@ class FreqaiPrimer(IStrategy):
if hasattr(self, '_local_cache_stats'):
return self._local_cache_stats['hits'] + self._local_cache_stats['redis_hits']
return 0
"""
获取缓存统计信息
"""
if hasattr(self, '_local_cache_stats'):
total_requests = sum(self._local_cache_stats.values())
if total_requests > 0: