处理message问题
Some checks failed
test / Run tests (push) Has been cancelled
build / Build (push) Has been cancelled
Some checks failed
test / Run tests (push) Has been cancelled
build / Build (push) Has been cancelled
This commit is contained in:
@ -235,13 +235,13 @@ export class ScriptService {
|
||||
}
|
||||
|
||||
async updateRunStatus(params: { uuid: string; runStatus: SCRIPT_RUN_STATUS; error?: string; nextruntime?: number }) {
|
||||
await this.scriptDAO.update(params.uuid, {
|
||||
this.mq.publish("updateRunStatus", params);
|
||||
return this.scriptDAO.update(params.uuid, {
|
||||
runStatus: params.runStatus,
|
||||
lastruntime: new Date().getTime(),
|
||||
error: params.error,
|
||||
nextruntime: params.nextruntime,
|
||||
});
|
||||
this.mq.publish("updateRunStatus", params);
|
||||
}
|
||||
|
||||
getCode(uuid: string) {
|
||||
|
Reference in New Issue
Block a user