Skip to content

Commit 7e3c92e

Browse files
geroplroboquat
authored andcommitted
[server] Temp. disable expensive telemetry queries
1 parent ede4b47 commit 7e3c92e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/server/src/installation-admin/telemetry-data-provider.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
async getTelemetryData(): Promise<TelemetryData> {
1919
const data: TelemetryData = {
2020
installationAdmin: await this.installationAdminDb.getData(),
21-
totalUsers: await this.userDb.getUserCount(true),
22-
totalWorkspaces: await this.workspaceDb.getWorkspaceCount(),
23-
totalInstances: await this.workspaceDb.getInstanceCount(),
21+
totalUsers: 0, //await this.userDb.getUserCount(true),
22+
totalWorkspaces: 0, //await this.workspaceDb.getWorkspaceCount(),
23+
totalInstances: 0, //await this.workspaceDb.getInstanceCount(),
2424
} as TelemetryData;
2525

2626
return data;

0 commit comments

Comments
 (0)