fix: abandonment works
Some checks failed
Build Worker Base and Application Images / deploy-stack (push) Blocked by required conditions
Build Worker Base and Application Images / check-base-changes (push) Successful in 9s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Has been cancelled
Some checks failed
Build Worker Base and Application Images / deploy-stack (push) Blocked by required conditions
Build Worker Base and Application Images / check-base-changes (push) Successful in 9s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Has been cancelled
This commit is contained in:
parent
793beb1571
commit
3ed7a2cd53
3 changed files with 14 additions and 38 deletions
|
@ -197,24 +197,18 @@ class WebSocketHandler:
|
|||
|
||||
async def _handle_set_subscription_list(self, message: SetSubscriptionListMessage) -> None:
|
||||
"""Handle setSubscriptionList message for declarative subscription management."""
|
||||
logger.info(f"🎯 [RX Processing] setSubscriptionList with {len(message.subscriptions)} subscriptions")
|
||||
for i, sub in enumerate(message.subscriptions):
|
||||
logger.info(f" 📋 Sub {i+1}: {sub.subscriptionIdentifier} (model: {sub.modelId})")
|
||||
logger.info(f"[RX Processing] setSubscriptionList with {len(message.subscriptions)} subscriptions")
|
||||
|
||||
# Update worker state with new subscriptions
|
||||
worker_state.set_subscriptions(message.subscriptions)
|
||||
|
||||
# Phase 2: Download and manage models
|
||||
logger.info("📦 Starting model download phase...")
|
||||
await self._ensure_models(message.subscriptions)
|
||||
logger.info("✅ Model download phase complete")
|
||||
|
||||
# Phase 3 & 4: Integrate with streaming management and tracking
|
||||
logger.info("🎬 Starting stream subscription update...")
|
||||
await self._update_stream_subscriptions(message.subscriptions)
|
||||
logger.info("✅ Stream subscription update complete")
|
||||
|
||||
logger.info("🏁 Subscription list updated successfully")
|
||||
logger.info("Subscription list updated successfully")
|
||||
|
||||
async def _ensure_models(self, subscriptions) -> None:
|
||||
"""Ensure all required models are downloaded and available."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue