public async storePerformanceStatistics (performanceStatistics: Statistics): Promise<void> {
try {
+ this.setPerformanceStatistics(performanceStatistics)
await this.orm?.em.upsert({
...performanceStatistics,
statisticsData: Array.from(performanceStatistics.statisticsData, ([name, value]) => ({
}
public async close (): Promise<void> {
+ this.clearPerformanceStatistics()
try {
if (this.orm != null) {
await this.orm.close()