mirror of
https://github.com/mempool/mempool.git
synced 2025-01-18 05:12:35 +01:00
Remove test code
This commit is contained in:
parent
fb152b6d7b
commit
7e7dbdbaf2
@ -359,7 +359,6 @@ class Statistics {
|
|||||||
try {
|
try {
|
||||||
const connection = await DB.pool.getConnection();
|
const connection = await DB.pool.getConnection();
|
||||||
const query = this.getQueryForDays(1800, '1 WEEK'); // 30m interval
|
const query = this.getQueryForDays(1800, '1 WEEK'); // 30m interval
|
||||||
await connection.query<any>({ sql: "SET time_zone = '+9:00';", timeout: this.queryTimeout });
|
|
||||||
const [rows] = await connection.query<any>({ sql: query, timeout: this.queryTimeout });
|
const [rows] = await connection.query<any>({ sql: query, timeout: this.queryTimeout });
|
||||||
connection.release();
|
connection.release();
|
||||||
return this.mapStatisticToOptimizedStatistic(rows);
|
return this.mapStatisticToOptimizedStatistic(rows);
|
||||||
|
Loading…
Reference in New Issue
Block a user