remove read UNCOMMITTED

This commit is contained in:
Ben Wilson
2023-12-07 09:55:36 -05:00
parent 5b71632f8a
commit 6cf6a007d9
@@ -48,8 +48,6 @@ export class ClientStatisticsService {
var yesterday = new Date(new Date().getTime() - (24 * 60 * 60 * 1000));
const query = `
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
SELECT
time AS label,
ROUND(((SUM(shares) * 4294967296) / 600)) AS data
@@ -62,7 +60,6 @@ export class ClientStatisticsService {
ORDER BY
time
LIMIT 144;
`;
const result: any[] = await this.clientStatisticsRepository.query(query);