bugfix
This commit is contained in:
parent
9b9bee6836
commit
9326d71435
1
fw/fw.py
1
fw/fw.py
@ -21,6 +21,7 @@ class MyLongTask(LongTasks):
|
|||||||
self.models.append(model)
|
self.models.append(model)
|
||||||
|
|
||||||
async def process_task(self, payload:dict, workerid:int=None):
|
async def process_task(self, payload:dict, workerid:int=None):
|
||||||
|
debug(f'process_task():{payload=}, {workerid=}')
|
||||||
if workerid is None:
|
if workerid is None:
|
||||||
return {
|
return {
|
||||||
"task_status": "error",
|
"task_status": "error",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user