Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

chore(handlers): drop the current-tab cap comment that says session ends are not pushed over the wire

Luigi Agosti36285612677c
diff --git a/internal/handlers/current_tab.go b/internal/handlers/current_tab.go
index 48a02914..7493dcde 100644
--- a/internal/handlers/current_tab.go
+++ b/internal/handlers/current_tab.go
@@ -33,12 +33,6 @@ func (s currentTabScope) Description() string {
return "global"
}
-// defaultCurrentTabCap caps the number of session/agent → tab entries
-// the instance keeps in memory. When new entries push past the cap, the
-// least-recently-touched one is evicted. The cap exists because we no
-// longer push session-revoke notices over the wire — entries for dead
-// sessions accumulate until pushed out by normal traffic, and the cap
-// keeps that bounded.
const defaultCurrentTabCap = 5000
// currentTabEntry holds a tab id plus a per-entry tick used as the LRU