This commit is contained in:
Emily
2024-09-19 14:00:12 +02:00
parent 3c59551f88
commit ac7ba7abd3
2 changed files with 3 additions and 3 deletions

View File

@@ -55,7 +55,7 @@ async function processStreamEntry(data: Record<string, string>) {
const duration = Date.now() - start;
console.log('Entry processed in', duration, 'ms');
// console.log('Entry processed in', duration, 'ms');
} catch (ex: any) {
console.error('ERROR PROCESSING STREAM EVENT', ex.message);

View File

@@ -1,10 +1,10 @@
module.exports = {
apps: [
{
name: 'Producer',
name: 'producer',
port: '3000',
exec_mode: 'cluster',
instances: '2',
instances: '1',
script: './dist/broker/src/index.js',
env: {
PORT: "",