Skip to content

Commit 8ae0980

Browse files
committed
rename
1 parent f30a4f5 commit 8ae0980

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/node/services/compactionHandler.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export class CompactionHandler {
2828
private readonly workspaceId: string;
2929
private readonly historyService: HistoryService;
3030
private readonly emitter: EventEmitter;
31-
private readonly processedIds: Set<string> = new Set<string>();
31+
private readonly processedCompactionRequestIds: Set<string> = new Set<string>();
3232

3333
constructor(options: CompactionHandlerOptions) {
3434
this.workspaceId = options.workspaceId;
@@ -118,7 +118,7 @@ export class CompactionHandler {
118118
}
119119

120120
// Dedupe: If we've already processed this compaction-request, skip
121-
if (this.processedIds.has(lastUserMsg.id)) {
121+
if (this.processedCompactionRequestIds.has(lastUserMsg.id)) {
122122
return true;
123123
}
124124

@@ -128,7 +128,7 @@ export class CompactionHandler {
128128
.join("");
129129

130130
// Mark as processed before performing compaction
131-
this.processedIds.add(lastUserMsg.id);
131+
this.processedCompactionRequestIds.add(lastUserMsg.id);
132132

133133
const result = await this.performCompaction(summary, event.metadata);
134134
if (!result.success) {

0 commit comments

Comments
 (0)