debug(project_events): log every publish call with uid set

Temporary instrumentation to debug why SSE board events aren't reaching
the browser. Will revert once root cause is identified.
This commit is contained in:
Oleks
2026-05-15 23:28:26 +03:00
parent a02c4fb2ad
commit 5d7d22ee29
+1
View File
@@ -250,6 +250,7 @@ func publishEvent(ctx context.Context, projectID int64, payload any) {
Data: data,
}
uids := connectedUIDsWithProjectAccess(ctx, projectID)
log.Info("project_events: publish project=%d event=%s uids=%v connected=%v", projectID, event.Name, uids, eventsource.GetManager().ConnectedUIDs())
if len(uids) == 0 {
return
}