mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-09 23:48:36 +01:00
fix
This commit is contained in:
@@ -55,7 +55,7 @@ async function processStreamEntry(data: Record<string, string>) {
|
|||||||
|
|
||||||
const duration = Date.now() - start;
|
const duration = Date.now() - start;
|
||||||
|
|
||||||
console.log('Entry processed in', duration, 'ms');
|
// console.log('Entry processed in', duration, 'ms');
|
||||||
|
|
||||||
} catch (ex: any) {
|
} catch (ex: any) {
|
||||||
console.error('ERROR PROCESSING STREAM EVENT', ex.message);
|
console.error('ERROR PROCESSING STREAM EVENT', ex.message);
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
apps: [
|
apps: [
|
||||||
{
|
{
|
||||||
name: 'Producer',
|
name: 'producer',
|
||||||
port: '3000',
|
port: '3000',
|
||||||
exec_mode: 'cluster',
|
exec_mode: 'cluster',
|
||||||
instances: '2',
|
instances: '1',
|
||||||
script: './dist/broker/src/index.js',
|
script: './dist/broker/src/index.js',
|
||||||
env: {
|
env: {
|
||||||
PORT: "",
|
PORT: "",
|
||||||
|
|||||||
Reference in New Issue
Block a user