mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 09:05:06 -07:00
remove read UNCOMMITTED
This commit is contained in:
@@ -48,8 +48,6 @@ export class ClientStatisticsService {
|
|||||||
var yesterday = new Date(new Date().getTime() - (24 * 60 * 60 * 1000));
|
var yesterday = new Date(new Date().getTime() - (24 * 60 * 60 * 1000));
|
||||||
|
|
||||||
const query = `
|
const query = `
|
||||||
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
|
|
||||||
|
|
||||||
SELECT
|
SELECT
|
||||||
time AS label,
|
time AS label,
|
||||||
ROUND(((SUM(shares) * 4294967296) / 600)) AS data
|
ROUND(((SUM(shares) * 4294967296) / 600)) AS data
|
||||||
@@ -62,7 +60,6 @@ export class ClientStatisticsService {
|
|||||||
ORDER BY
|
ORDER BY
|
||||||
time
|
time
|
||||||
LIMIT 144;
|
LIMIT 144;
|
||||||
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const result: any[] = await this.clientStatisticsRepository.query(query);
|
const result: any[] = await this.clientStatisticsRepository.query(query);
|
||||||
|
|||||||
Reference in New Issue
Block a user