Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

fix(buffer): use correct name

Carl-Gerhard Lindesvärd7a0e50a76409
diff --git a/packages/db/src/buffers/bot-buffer.ts b/packages/db/src/buffers/bot-buffer.ts
index 0d820b36a..ec0a675db 100644
--- a/packages/db/src/buffers/bot-buffer.ts
+++ b/packages/db/src/buffers/bot-buffer.ts
@@ -5,7 +5,7 @@ import { RedisBuffer } from './buffer';
type BufferType = IClickhouseBotEvent;
export class BotBuffer extends RedisBuffer<BufferType> {
constructor() {
- super(TABLE_NAMES.events, 500);
+ super(TABLE_NAMES.events_bots, 500);
}
protected async insertIntoDB(items: BufferType[]): Promise<void> {