forked from Rockachopa/Timmy-time-dashboard
feat: code quality audit + autoresearch integration + infra hardening (#150)
This commit is contained in:
committed by
GitHub
parent
fd0ede0d51
commit
ae3bb1cc21
@@ -24,6 +24,7 @@ def test_ws_manager_initial_state():
|
||||
async def test_ws_manager_event_history_limit():
|
||||
"""History is trimmed to maxlen after broadcasts."""
|
||||
import collections
|
||||
|
||||
mgr = WebSocketManager()
|
||||
mgr._event_history = collections.deque(maxlen=5)
|
||||
for i in range(10):
|
||||
|
||||
Reference in New Issue
Block a user