mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #12366] [MERGED] chore: adapt websocket redis sentinel code to new native support in python-socketio #45951
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/12366
Author: @Ithanil
Created: 4/2/2025
Status: ✅ Merged
Merged: 4/12/2025
Merged by: @tjbck
Base:
dev← Head:redis_sentinel_2📝 Commits (3)
35ea29bprepare websocket redis sentinel code for upcoming native support of sentinel in python-socketio257ca45leave out @ in redis+sentine url when no username/password is providedc6755f9bump python-socketio to 5.13.0 (to support Redis Sentinel natively)📊 Changes
5 files changed (+19 additions, -82 deletions)
View changed files
📝
backend/open_webui/socket/main.py(+2 -12)📝
backend/open_webui/utils/redis.py(+11 -64)📝
backend/requirements.txt(+1 -1)📝
pyproject.toml(+1 -1)📝
uv.lock(+4 -4)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Preparation for upcoming python-socketio release (with PR https://github.com/miguelgrinberg/python-socketio/pull/1448). Will un-draft when ready.
EDIT: python-socketio 5.13.0 with the relevant changes has now been released and is used by this PR
Changed
Removed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.