Browse Source

response.py

增加对于97的状态码的返回
luojunhui 5 months ago
parent
commit
e3e0996835
1 changed files with 1 additions and 2 deletions
  1. 1 2
      tasks/history_task.py

+ 1 - 2
tasks/history_task.py

@@ -251,7 +251,6 @@ class historyContentIdTask(object):
         else:
             return False
 
-
     async def process_task(self, params):
         """
         异步执行
@@ -267,7 +266,7 @@ class historyContentIdTask(object):
                 # 修改状态为执行状态
                 affected_rows = await self.update_content_status(
                     trace_id=trace_id,
-                    new_content_status=self.TASK_PROCESSING_STATUS,
+                    new_content_status=self.EXIT_STATUS,
                     ori_content_status=self.TASK_INIT_STATUS
                 )
                 if affected_rows == 0: