From 45759f96254d42612f0f1cfcfeb66f8c36a25986 Mon Sep 17 00:00:00 2001 From: j Date: Thu, 4 Apr 2024 01:23:39 -0400 Subject: [PATCH] cleanup --- src/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.ts b/src/index.ts index bafe38b..16db530 100644 --- a/src/index.ts +++ b/src/index.ts @@ -6,6 +6,7 @@ import rDramaSession from './rdrama/session/SessionManager'; import { DatabaseInitializer } from './db/initializeDatabase'; import RedisSessionManager from './redis/session/SessionManager'; import { Comment } from './rdrama/models/Comment'; +import { CommentParser } from './rdrama/services/CommentParser'; // Import other necessary services or configurations @@ -34,6 +35,8 @@ async function startApplication() { const workflowOrchestrator = new WorkflowOrchestrator(); + + redisManager.client.on('message', async (channel, message) => { if (channel === 'newCommentsChannel') { const comment: Comment = JSON.parse(message)