From 7e7dbdbaf26ee3f229ef0db06a66485f84bbe754 Mon Sep 17 00:00:00 2001 From: nymkappa Date: Sat, 11 Dec 2021 15:43:20 +0900 Subject: [PATCH] Remove test code --- backend/src/api/statistics.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/src/api/statistics.ts b/backend/src/api/statistics.ts index b6738b296..b917baec3 100644 --- a/backend/src/api/statistics.ts +++ b/backend/src/api/statistics.ts @@ -359,7 +359,6 @@ class Statistics { try { const connection = await DB.pool.getConnection(); const query = this.getQueryForDays(1800, '1 WEEK'); // 30m interval - await connection.query({ sql: "SET time_zone = '+9:00';", timeout: this.queryTimeout }); const [rows] = await connection.query({ sql: query, timeout: this.queryTimeout }); connection.release(); return this.mapStatisticToOptimizedStatistic(rows);