修复并发参数

This commit is contained in:
hanhh
2021-09-25 01:51:18 +08:00
parent da3e63e6c3
commit be4efbad5d
3 changed files with 9 additions and 9 deletions
+4 -4
View File
@@ -90,15 +90,15 @@ export default class CronService {
status,
pid,
log_path,
last_running_time,
last_execution_time,
last_running_time = 0,
last_execution_time = 0,
}: {
ids: string[];
status: CrontabStatus;
pid: number;
log_path: string;
last_running_time: string;
last_execution_time: string;
last_running_time: number;
last_execution_time: number;
}) {
return new Promise((resolve) => {
this.cronDb.update(