From 1dffc46ad60fe247933cdeb75d8cb76e47e00c7c Mon Sep 17 00:00:00 2001 From: elweyn Date: Thu, 27 Jun 2024 12:27:06 +0200 Subject: [PATCH] Remove checkForOpenRooms. --- backend/src/index.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/backend/src/index.ts b/backend/src/index.ts index 58fe7f32b7..f11d901d70 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -1,20 +1,20 @@ // eslint-disable-next-line import/no-unassigned-import import 'reflect-metadata' -import { handleOpenRooms } from '#graphql/resolvers/dal/handleOpenRooms' +// import { handleOpenRooms } from '#graphql/resolvers/dal/handleOpenRooms' import logger from './logger' import { prisma } from './prisma' import { listen } from './server/server' -const checkForOpenRooms = (): void => { - void handleOpenRooms() - setTimeout(checkForOpenRooms, 60 * 1000) -} +// const checkForOpenRooms = (): void => { +// void handleOpenRooms() +// setTimeout(checkForOpenRooms, 60 * 1000) +// } export const main = async (): Promise => { const url = await listen(4000) logger.info(`🚀 Server is ready at ${url}`) - checkForOpenRooms() + // checkForOpenRooms() } void main()