remove duplicate priority setting for merge summerization
This commit is contained in:
parent
140b1b3cbb
commit
5a393e563e
2 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue