mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: adds buffersize to ReplaySubject (#36286)
This commit is contained in:
parent
abb1c10776
commit
3999d670cf
@ -39,7 +39,7 @@ class DashboardQueryRunnerImpl implements DashboardQueryRunner {
|
||||
this.cancel = this.cancel.bind(this);
|
||||
this.destroy = this.destroy.bind(this);
|
||||
this.executeRun = this.executeRun.bind(this);
|
||||
this.results = new ReplaySubject<DashboardQueryRunnerWorkerResult>();
|
||||
this.results = new ReplaySubject<DashboardQueryRunnerWorkerResult>(1);
|
||||
this.runs = new Subject<DashboardQueryRunnerOptions>();
|
||||
this.cancellationStream = new Subject<any>();
|
||||
this.runsSubscription = this.runs.subscribe((options) => this.executeRun(options));
|
||||
|
Loading…
Reference in New Issue
Block a user