HH-564: harden durable realtime publish boundaries (#139)

* fix(HH-564): harden durable realtime enqueue

* fix(HH-564): wire production SSE stream

---------

Co-authored-by: Rogee <rogee@ipao.vip>
This commit is contained in:
Rogee
2026-08-23 23:38:00 +08:00
committed by GitHub
co-authored by rogee
parent cb0b554e94
commit f36606a4f2
14 changed files with 423 additions and 12 deletions
@@ -320,7 +320,7 @@ func (h *NotificationHandler) publishNotificationEvent(ctx context.Context, acco
applogger.L().Warnf("notification event %s total count: %v", eventType, err)
return
}
h.eventPublisher.PublishEvent(accountID, eventType, gin.H{
publishRealtimeEvent(h.eventPublisher, accountID, eventType, gin.H{
"notification": h.serializeNotification(ctx, notification),
"unread_count": unreadCount,
"count": total,