Temporarily disable config clean-up

The current query doesn't work in MySQL 8.
This commit is contained in:
Dragory 2022-06-26 15:23:17 +03:00
parent 6b44027eb4
commit f463abb3e2
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

View file

@ -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;