Skip to content

Commit a0914d9

Browse files
committed
fix: drop no-comment-zone comments in core-v2 and gateway
1 parent 4fb94f5 commit a0914d9

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

‎packages/agent-core-v2/src/agent/contextMemory/contextMemoryService.ts‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ export class AgentContextMemoryService extends Disposable implements IAgentConte
5353
if (messages.length === 0) return;
5454
const start = this.get().length;
5555
for (const message of messages) {
56-
// dispatch applies the fold synchronously when the dispatcher is idle;
57-
// fire-and-forget would race callers that read get() immediately after.
5856
void this.dispatcher.dispatch(
5957
new ContextAppendMessage({ agentId: this.scopeContext.agentId, message }),
6058
);

‎packages/agent-gateway/src/transport/ws/v1/wsConnectionV1.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,6 @@ export class WsConnectionV1 implements BroadcastTarget {
521521
const now = Date.now();
522522
if (this.backpressureSince === undefined) this.backpressureSince = now;
523523
if (now - this.backpressureSince >= DEFAULT_BACKPRESSURE_MAX_DELAY_MS) {
524-
// Hard bound: socket buffer stuck far past the high-water mark.
525524
if (this.socket.bufferedAmount > this.highWaterMarkBytes * 8) {
526525
this.outbound = [];
527526
this.close(WS_CLOSE_OVERLOADED, 'slow consumer');

0 commit comments

Comments
 (0)