fix: NODE1_REPAIR - healthchecks, dependencies, SSR env, telegram gateway
TASK_PHASE_NODE1_REPAIR: - Fix daarion-web SSR: use CITY_API_BASE_URL instead of 127.0.0.1 - Fix auth API routes: use AUTH_API_URL env var - Add wget to Dockerfiles for healthchecks (stt, ocr, web-search, swapper, vector-db, rag) - Update healthchecks to use wget instead of curl - Fix vector-db-service: update torch==2.4.0, sentence-transformers==2.6.1 - Fix rag-service: correct haystack imports for v2.x - Fix telegram-gateway: remove msg.ack() for non-JetStream NATS - Add /health endpoint to nginx mvp-routes.conf - Add room_role, is_public, sort_order columns to city_rooms migration - Add TASK_PHASE_NODE1_REPAIR.md and DEPLOY_NODE1_REPAIR.md docs Previous tasks included: - TASK 039-044: Orchestrator rooms, Matrix chat cleanup, CrewAI integration
This commit is contained in:
@@ -50,12 +50,11 @@ class RouterHandler:
|
||||
# Обробити подію асинхронно
|
||||
asyncio.create_task(self._handle_telegram_event(event))
|
||||
|
||||
# Acknowledge message
|
||||
await msg.ack()
|
||||
# NOTE: No ack() for core NATS (non-JetStream) subscriptions
|
||||
# JetStream ack is only needed when using JetStream consumers
|
||||
|
||||
except Exception as e:
|
||||
logger.error(f"❌ Error processing NATS message: {e}", exc_info=True)
|
||||
# Don't ack - will retry
|
||||
|
||||
# Підписатися на subject
|
||||
self._sub = await self._nc.subscribe("agent.telegram.update", cb=message_handler)
|
||||
|
||||
Reference in New Issue
Block a user