From 891a43ae6716ff98ed06643f7da2e35199ee195c Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Mon, 3 Jul 2023 11:53:11 +0800 Subject: [PATCH] perf: flush log --- packages/core/pipeline/src/core/executor.ts | 2 +- .../certd/pipeline/pipeline/component/task-view/index.vue | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/core/pipeline/src/core/executor.ts b/packages/core/pipeline/src/core/executor.ts index f9fd1d8e..c5184ce6 100644 --- a/packages/core/pipeline/src/core/executor.ts +++ b/packages/core/pipeline/src/core/executor.ts @@ -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) { diff --git a/packages/ui/certd-client/src/views/certd/pipeline/pipeline/component/task-view/index.vue b/packages/ui/certd-client/src/views/certd/pipeline/pipeline/component/task-view/index.vue index 8f5438f8..deb82cfd 100644 --- a/packages/ui/certd-client/src/views/certd/pipeline/pipeline/component/task-view/index.vue +++ b/packages/ui/certd-client/src/views/certd/pipeline/pipeline/component/task-view/index.vue @@ -15,7 +15,7 @@