diff --git a/cortex-js/src/infrastructure/controllers/events.controller.ts b/cortex-js/src/infrastructure/controllers/events.controller.ts index 037aebcb0..cf166ec8b 100644 --- a/cortex-js/src/infrastructure/controllers/events.controller.ts +++ b/cortex-js/src/infrastructure/controllers/events.controller.ts @@ -61,7 +61,7 @@ export class EventsController { 'download.event', ).pipe( map((downloadState) => ({ data: downloadState })), - throttleTime(1000, undefined, { trailing: true }), + throttleTime(1000, undefined, { leading: true, trailing: true }), ); return merge(