File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments