From d019c1c440e3a155b2820361ca31a9f52c834570 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 26 Feb 2023 20:07:45 +0900 Subject: [PATCH 1/2] Update packages/backend/check_connect.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Acid Chicken (硫酸鶏) --- packages/backend/check_connect.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/backend/check_connect.js b/packages/backend/check_connect.js index 8bf134a105a3..627789580b29 100644 --- a/packages/backend/check_connect.js +++ b/packages/backend/check_connect.js @@ -1,5 +1,5 @@ -import {loadConfig} from './built/config.js'; -import {createRedisConnection} from "./built/redis.js"; +import { loadConfig } from './built/config.js'; +import { createRedisConnection } from './built/redis.js'; const config = loadConfig(); const redis = createRedisConnection(config); From 9f8c9dd8819e855e2b49b9963d9fcc79e3f376c6 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 26 Feb 2023 20:07:52 +0900 Subject: [PATCH 2/2] Update packages/backend/check_connect.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Acid Chicken (硫酸鶏) --- packages/backend/check_connect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/check_connect.js b/packages/backend/check_connect.js index 627789580b29..ed429c025402 100644 --- a/packages/backend/check_connect.js +++ b/packages/backend/check_connect.js @@ -6,5 +6,5 @@ const redis = createRedisConnection(config); redis.on('connect', () => redis.disconnect()); redis.on('error', (e) => { - throw e; + throw e; });