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()