diff --git a/packages/backend/check_connect.js b/packages/backend/check_connect.js deleted file mode 100644 index 7c1e716b3..000000000 --- a/packages/backend/check_connect.js +++ /dev/null @@ -1,10 +0,0 @@ -import { loadConfig } from "./built/config.js"; -import { createRedisConnection } from "./built/redis.js"; - -const config = loadConfig(); -const redis = createRedisConnection(config); - -redis.on("connect", () => redis.disconnect()); -redis.on("error", (e) => { - throw e; -}); diff --git a/packages/backend/package.json b/packages/backend/package.json index 4df1d5580..f4cc2d375 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -9,7 +9,6 @@ "migrate": "typeorm migration:run -d built/ormconfig.js", "revertmigration": "typeorm migration:revert -d built/ormconfig.js", "generatemigration": "yarn build && typeorm migration:generate -d built/ormconfig.js", - "check:connect": "node ./check_connect.js", "build": "swc src -d built -D", "build:debug": "swc src -d built -s -D", "watch": "swc src -d built -D -w",