mirror of
https://github.com/apricote/Listory.git
synced 2026-02-07 02:07:03 +00:00
fix: improve top-artists response time
By calculating the necessary counts in the database, we avoid unncessary joins and data transmissions.
This commit is contained in:
parent
2ea7366a58
commit
aecc82576a
4 changed files with 44 additions and 39 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import { Module } from "@nestjs/common";
|
||||
import { ReportsService } from "./reports.service";
|
||||
import { ReportsController } from "./reports.controller";
|
||||
import { ListensModule } from "src/listens/listens.module";
|
||||
import { ReportsController } from "./reports.controller";
|
||||
import { ReportsService } from "./reports.service";
|
||||
|
||||
@Module({
|
||||
imports: [ListensModule],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue