diff --git a/assets/components/LogEventSource.vue b/assets/components/LogEventSource.vue index 31fb0571..89bd7d14 100644 --- a/assets/components/LogEventSource.vue +++ b/assets/components/LogEventSource.vue @@ -27,8 +27,8 @@ export default { }; }, created() { - this.loadLogs(); this.flushBuffer = debounce(this.flushNow, 250, { maxWait: 1000 }); + this.loadLogs(); }, beforeDestroy() { this.es.close();