Skip to content

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

wip

Carl-Gerhard Lindesvärd4893a42b26dd
diff --git a/packages/db/src/buffers/event-buffer.ts b/packages/db/src/buffers/event-buffer.ts
index ebc0f5021..32be5212f 100644
--- a/packages/db/src/buffers/event-buffer.ts
+++ b/packages/db/src/buffers/event-buffer.ts
@@ -40,13 +40,13 @@ export class EventBuffer extends RedisBuffer<IClickhouseEvent> {
'event:received',
SuperJSON.stringify(transformEvent(event))
);
- if (event.profile_id) {
- this.redis.setex(
- `live:event:${event.project_id}:${event.profile_id}`,
- '',
- 60 * 5
- );
- }
+ // if (event.profile_id) {
+ // this.redis.setex(
+ // `live:event:${event.project_id}:${event.profile_id}`,
+ // '',
+ // 60 * 5
+ // );
+ // }
};
public onCompleted?: OnCompleted<IClickhouseEvent> | undefined = (