fix(observe): clear stale notifications before re-attempting observe mode

This commit is contained in:
Marc Billow committed 2026-07-09 18:36:36 -05:00
1 parent 97260441f1
commit eecbc19dde
2 files changed
+63 -9

No files matched your search

+1
View File
@@ -87,6 +87,7 @@ class ObserveManager:
"""Blocking — subscribes to every href then sleeps for the whole
grace period. Caller must run this in an executor, never on the
event loop."""
self._notified.clear()
subscribed: set[str] = set()
for href in hrefs:
segs = [s for s in href.strip('/').split('/') if s]