open-webui/backend/open_webui/socket
Claude 8c377fd774
style+fix(stream): trim comments, address review round
Tone down verbose comments added over the last few review rounds
(-79 lines net). Logic unchanged by the tone-down itself.

Also addresses three new findings:
- Hot-path Redis timeout dropped 500ms → 200ms. Halves worst-case
  stall under degraded Redis; healthy Redis (<1ms) is unaffected.
- onDestroy now calls dropAllResumeFences so pending fence timers
  can't fire post-unmount against stale component state.
- Fence flush uses insertion order instead of partition+sort. Live
  frames were emitted sequentially by one emitter and preserved by
  socket.io transport order, so push-order already == seq-order;
  sorting was mixing seq and seq-less frames incorrectly in the
  Redis-degraded path.
2026-04-14 22:41:21 +00:00
..
main.py style+fix(stream): trim comments, address review round 2026-04-14 22:41:21 +00:00
utils.py refac 2026-03-22 05:48:05 -05:00