feat(perception): resume full graph on fresh input without restarting models
This commit is contained in:
@@ -227,8 +227,10 @@ class StreamingLifecycle:
|
||||
self._check(start)
|
||||
if self.continuity is None or self._source_clock_ns is None:
|
||||
raise ValueError("resumable input was not enabled")
|
||||
if any(self._active.values()) or (
|
||||
self._ingress_thread is not None and self._ingress_thread.is_alive()
|
||||
if (
|
||||
not self.mailbox.epoch_drained
|
||||
or any(self._active.values())
|
||||
or (self._ingress_thread is not None and self._ingress_thread.is_alive())
|
||||
):
|
||||
raise StreamSuspended("old epoch callbacks or connection still active")
|
||||
if self.continuity.phase != "waiting":
|
||||
|
||||
Reference in New Issue
Block a user