mirror of
https://github.com/HKUDS/LightRAG.git
synced 2026-01-07 20:29:56 +00:00
remove duplicate priority setting for merge summerization
This commit is contained in:
parent
140b1b3cbb
commit
5a393e563e
@ -147,7 +147,6 @@ async def _handle_entity_relation_summary(
|
||||
llm_response_cache=llm_response_cache,
|
||||
max_tokens=summary_max_tokens,
|
||||
cache_type="extract",
|
||||
priority=5, # Higher priority for entity/relation summary
|
||||
)
|
||||
return summary
|
||||
|
||||
|
||||
@ -308,7 +308,7 @@ def priority_limit_async_func_call(max_size: int):
|
||||
"""Worker that processes tasks from the priority queue"""
|
||||
while True:
|
||||
# Get task from queue (priority, task_id, future, args, kwargs)
|
||||
priority, _, future, args, kwargs = await queue.get()
|
||||
_, _, future, args, kwargs = await queue.get()
|
||||
try:
|
||||
# Execute the function
|
||||
result = await func(*args, **kwargs)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user