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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user