MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / constructor

Method constructor

packages/db/src/buffers/replay-buffer.ts:26–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 private readonly redisKey = 'replay-buffer';
25
26 constructor() {
27 super({
28 name: 'replay',
29 onFlush: async () => {
30 await this.processBuffer();
31 },
32 });
33 }
34
35 async add(chunk: IClickhouseSessionReplayChunk) {
36 return this.timeAdd(async () => {

Callers

nothing calls this directly

Calls 1

processBufferMethod · 0.95

Tested by

no test coverage detected