perf: flush log

This commit is contained in:
xiaojunnuo
2023-07-03 11:53:11 +08:00
parent bc65c0a786
commit 891a43ae67
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ export class Executor {
}
const intervalFlushLogId = setInterval(async () => {
await this.onChanged(this.runtime);
}, 10000);
}, 5000);
const timeout = runnable.timeout ?? 20 * 60 * 1000;
try {
if (this.canceled) {