fix: 修改 item_keyword 方法的默认参数以减少获取的项目数量
This commit is contained in:
parent
1737f87299
commit
3260372edc
2
DB.py
2
DB.py
@ -162,7 +162,7 @@ class DBVidcon:
|
||||
self.redis.lpush(self.urgent_list_key, *raws)
|
||||
|
||||
@redis_retry(max_retries=3)
|
||||
def item_keyword(self, count: int = 100):
|
||||
def item_keyword(self, count: int = 20):
|
||||
try:
|
||||
urgent_items = self.fetch_from_redis(count, list_key=self.urgent_list_key)
|
||||
except Exception as e:
|
||||
|
Loading…
x
Reference in New Issue
Block a user