few optimizations

This commit is contained in:
Ben Wilson
2023-12-07 09:07:37 -05:00
parent 893c7c2003
commit eb5d434157
2 changed files with 9 additions and 7 deletions
@@ -48,6 +48,8 @@ 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