07.4.3.18.2 — Runtime Notification Migration

This commit is contained in:
2026-05-09 21:46:58 +03:00
parent 7e5ecc2ed9
commit c3cf446143
9 changed files with 665 additions and 370 deletions

View File

@@ -4,7 +4,6 @@ from __future__ import annotations
import asyncio
from src.notifications.service import NotificationService
from src.runtime_events.models import RuntimeEvent
@@ -16,4 +15,8 @@ class RuntimeEventPublisher:
except RuntimeError:
return
# lazy import, чтобы не ловить circular import:
# runtime_events -> notifications -> runtime_events
from src.notifications.service import NotificationService
loop.create_task(NotificationService().handle_runtime_event(event))