Skip to content

Fixing logger.js and adding logerworker.js starting instance in pm2#254

Open
ronits2407 wants to merge 3 commits intoCoding-Club-IITG:devfrom
ronits2407:dev
Open

Fixing logger.js and adding logerworker.js starting instance in pm2#254
ronits2407 wants to merge 3 commits intoCoding-Club-IITG:devfrom
ronits2407:dev

Conversation

@ronits2407
Copy link
Copy Markdown
Contributor

run pm2 restart after this

import { redisUrl, REDIS_KEY_PREFIX } from "../config/default.js";
import { createClient } from "redis";

export const LOGS_QUEUE_KEY = `${REDIS_KEY_PREFIX}logs_queue`;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you remove REDIS_KEY_PREFIX?

{
name: "logger-worker",
script: "./loggerworker.js",
cwd: "./v2/workers",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be v1

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please dont make changes to v2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants