[cleanup] Remove dead code do_update_all function
- Removed do_update_all function that was never called and only returned an error - Removed "update-all" from OperationType enum as it's no longer used - Regenerated data models to reflect the enum change The update_all functionality now properly creates individual update tasks through the API endpoint rather than being a single monolithic task. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -992,12 +992,6 @@ async def task_worker():
|
||||
|
||||
return f"Model installation error: {model_url}"
|
||||
|
||||
|
||||
async def do_update_all(params: UpdateAllPacksParams):
|
||||
# For update-all tasks, we need client info from the original task
|
||||
# This should not be called anymore since update_all now creates individual tasks
|
||||
return "error: update_all should create individual tasks, not use task worker"
|
||||
|
||||
while True:
|
||||
timeout = 4096
|
||||
task = task_queue.get(timeout)
|
||||
|
||||
Reference in New Issue
Block a user