修复并发参数

This commit is contained in:
hanhh
2021-09-25 01:51:18 +08:00
parent 8a0db21f17
commit 16c6f8fee1
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(