fix(buffer): use correct name

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-09-20 09:38:49 +02:00
parent e348a6a12c
commit 7a0e50a764

View File

@@ -5,7 +5,7 @@ import { RedisBuffer } from './buffer';
type BufferType = IClickhouseBotEvent; type BufferType = IClickhouseBotEvent;
export class BotBuffer extends RedisBuffer<BufferType> { export class BotBuffer extends RedisBuffer<BufferType> {
constructor() { constructor() {
super(TABLE_NAMES.events, 500); super(TABLE_NAMES.events_bots, 500);
} }
protected async insertIntoDB(items: BufferType[]): Promise<void> { protected async insertIntoDB(items: BufferType[]): Promise<void> {