Skip to content

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

disabled

Carl-Gerhard Lindesvärdb782aafea669
diff --git a/packages/db/src/buffers/event-buffer.ts b/packages/db/src/buffers/event-buffer.ts
index 59808a66c..0650b5ce0 100644
--- a/packages/db/src/buffers/event-buffer.ts
+++ b/packages/db/src/buffers/event-buffer.ts
@@ -36,15 +36,15 @@ export class EventBuffer extends RedisBuffer<IClickhouseEvent> {
}
public onInsert?: OnInsert<IClickhouseEvent> | undefined = (event) => {
- redisPub.publish(
- 'event:received',
- SuperJSON.stringify(transformEvent(event))
- );
- this.redis.setex(
- `live:event:${event.project_id}:${event.profile_id}`,
- '',
- 60 * 5
- );
+ // redisPub.publish(
+ // 'event:received',
+ // SuperJSON.stringify(transformEvent(event))
+ // );
+ // this.redis.setex(
+ // `live:event:${event.project_id}:${event.profile_id}`,
+ // '',
+ // 60 * 5
+ // );
};
public onCompleted?: OnCompleted<IClickhouseEvent> | undefined = (