mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 07:48:37 +01:00
.
This commit is contained in:
@@ -20,7 +20,8 @@ export async function startStreamLoop() {
|
||||
await RedisStreamService.startReadingLoop({
|
||||
streamName: requireEnv('STREAM_NAME'),
|
||||
delay: { base: 10, empty: 5000 },
|
||||
readBlock: 2000
|
||||
readBlock: 2000,
|
||||
consumer: 'consumer_' + process.env.NODE_APP_INSTANCE
|
||||
}, processStreamEvent);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user