Fix queue processing error: remove empty params.append() calls

- Fixed 'list.append() takes exactly one argument (0 given)' error in update_queue_status
- Removed empty params.append() calls for timestamp fields that use CURRENT_TIMESTAMP directly
- Queue processing should now work correctly without errors
parent fa1c8156
......@@ -1140,10 +1140,8 @@ def update_queue_status(queue_id: int, status: str, result: dict = None, error:
if status == 'processing':
update_fields.append('started_at = CURRENT_TIMESTAMP')
params.append()
elif status in ['completed', 'failed']:
update_fields.append('completed_at = CURRENT_TIMESTAMP')
params.append()
if result:
update_fields.append('result = ?')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment