From f463abb3e226e2395c7a2c9fa7ab410950e1dbe7 Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Sun, 26 Jun 2022 15:23:17 +0300 Subject: [PATCH] Temporarily disable config clean-up The current query doesn't work in MySQL 8. --- backend/src/data/cleanup/configs.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/src/data/cleanup/configs.ts b/backend/src/data/cleanup/configs.ts index 1d22ea52..58c6da24 100644 --- a/backend/src/data/cleanup/configs.ts +++ b/backend/src/data/cleanup/configs.ts @@ -9,6 +9,9 @@ const CLEAN_PER_LOOP = 50; export async function cleanupConfigs() { const configRepository = getRepository(Config); + // FIXME: The query below doesn't work on MySQL 8.0. Pending an update. + return; + let cleaned = 0; let rows;