cleanup
parent
00f0765ef8
commit
45759f9625
|
@ -6,6 +6,7 @@ import rDramaSession from './rdrama/session/SessionManager';
|
||||||
import { DatabaseInitializer } from './db/initializeDatabase';
|
import { DatabaseInitializer } from './db/initializeDatabase';
|
||||||
import RedisSessionManager from './redis/session/SessionManager';
|
import RedisSessionManager from './redis/session/SessionManager';
|
||||||
import { Comment } from './rdrama/models/Comment';
|
import { Comment } from './rdrama/models/Comment';
|
||||||
|
import { CommentParser } from './rdrama/services/CommentParser';
|
||||||
|
|
||||||
// Import other necessary services or configurations
|
// Import other necessary services or configurations
|
||||||
|
|
||||||
|
@ -34,6 +35,8 @@ async function startApplication() {
|
||||||
|
|
||||||
const workflowOrchestrator = new WorkflowOrchestrator();
|
const workflowOrchestrator = new WorkflowOrchestrator();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
redisManager.client.on('message', async (channel, message) => {
|
redisManager.client.on('message', async (channel, message) => {
|
||||||
if (channel === 'newCommentsChannel') {
|
if (channel === 'newCommentsChannel') {
|
||||||
const comment: Comment = JSON.parse(message)
|
const comment: Comment = JSON.parse(message)
|
||||||
|
|
Loading…
Reference in New Issue