master
j 2024-04-04 01:23:39 -04:00
parent 00f0765ef8
commit 45759f9625
1 changed files with 3 additions and 0 deletions

View File

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