优化log
This commit is contained in:
parent
36e006a8a0
commit
986baf8c11
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user