fix(buffer): max call stack issue with buffer

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-11-29 10:39:12 +01:00
parent 0dfd28c9ce
commit d80754a6fd
4 changed files with 30 additions and 13 deletions

View File

@@ -22,7 +22,7 @@ const STALLED_QUEUE_TIMEOUT = 1000 * 60 * 60 * 24;
type BufferType = IClickhouseEvent;
export class EventBuffer extends RedisBuffer<BufferType> {
constructor() {
super(TABLE_NAMES.events, null);
super('events_v2', null);
}
getLastEventKey({