chore: loggin word

This commit is contained in:
Methapon2001 2023-11-27 14:39:44 +07:00
parent 0c933745bd
commit 69c664087e
No known key found for this signature in database
GPG key ID: 849924FEF46BD132
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ app.use(swaggerSpecs.basePath, router);
app.use(errorHandler);
app.listen(PORT, "0.0.0.0", () =>
console.log(`Application is running on http://localhost:${PORT}`),
console.log(`[APP] Application is running on http://localhost:${PORT}`),
);
rabbitmq.init(amqHandler).catch((e) => console.error(e));

View file

@ -12,7 +12,7 @@ export async function init(cb: (key: string, event: string) => boolean | Promise
channel.assertQueue(queue, { durable: true });
channel.prefetch(1);
console.log("[RabbitMQ] Listening for message...");
console.log("[AMQ] Listening for message...");
channel.consume(
queue,