0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-04-13 16:05:05 +02:00
Epid 1a576b16c1 fix(websocket): address silverwind review feedback
- Move /-/ws route inside reqSignIn middleware group; remove manual
  ctx.IsSigned check from handler (auth is now enforced by the router)
- Fix scheduleReconnect() to schedule using current delay then double,
  so first reconnect fires after 50ms not 100ms (reported by silverwind)
- Replace sourcesByPort.set(port, null) with delete() to prevent
  MessagePort retention after tab close (memory leak fix)
- Centralize topic naming in pubsub.UserTopic() — removes duplication
  between the notifier and the WebSocket handler
- Skip DB polling in notifier when broker has no active subscribers
  to avoid unnecessary load on idle instances
- Hold RLock for the full Publish fan-out loop to prevent a race
  where cancel() closes a channel between slice read and send
2026-03-30 06:37:53 +03:00
..
2026-03-29 10:24:30 +00:00
2026-03-29 10:24:30 +00:00
2026-02-11 03:22:33 +00:00
2026-03-27 04:39:24 +01:00
2026-03-23 07:49:25 +00:00