events-backend: always use batch size 10 for events bus
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
import { EventParams } from '@backstage/plugin-events-node';
|
||||
import { EventBusStore } from './types';
|
||||
|
||||
const MAX_BATCH_SIZE = 5;
|
||||
const MAX_BATCH_SIZE = 10;
|
||||
|
||||
export class MemoryEventBusStore implements EventBusStore {
|
||||
#events = new Array<EventParams & { seq: number; consumedBy: Set<string> }>();
|
||||
|
||||
Reference in New Issue
Block a user