mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-11 00:13:40 -05:00
[PR #19091] [MERGED] feat: Add additional config elements to control how engineio and redis log and interact. #48133
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/19091
Author: @adam-skalicky
Created: 11/10/2025
Status: ✅ Merged
Merged: 11/19/2025
Merged by: @tjbck
Base:
dev← Head:redis_additional_options📝 Commits (1)
af4067bAdd additional config elements to control how engineio and redis log and interact.📊 Changes
2 files changed (+42 additions, -2 deletions)
View changed files
📝
backend/open_webui/env.py(+26 -0)📝
backend/open_webui/socket/main.py(+16 -2)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions to discuss your idea/fix with the community before creating a pull request, and describe your changes before submitting a pull request.
This is to ensure large feature PRs are discussed with the community first, before starting work on it. If the community does not want this feature or it is not relevant for Open WebUI as a project, it can be identified in the discussion before working on the feature and submitting the PR.
Before submitting, make sure you've checked the following:
devbranch. Not targeting thedevbranch will lead to immediate closure of the PR.Changelog Entry
Description
Added
WEBSOCKET_REDIS_OPTIONS- The ability to define arbitrary Redis connection options via JSON likemax_connectionsWEBSOCKET_SERVER_PING_TIMEOUT- The ability to define the timeout for the application while pinging Redis to ensure it is still available in seconds. -- 30s by default.WEBSOCKET_SERVER_PING_INTERVAL- The ability to define the frequency the application pings Redis to ensure it is still available in seconds. -- 20s by default.WEBSOCKET_SERVER_LOGGING- Enables logging for SocketIO. This is false by default. This is very verbose and should only be used for debugging issues.WEBSOCKET_SERVER_ENGINEIO_LOGGING- Enables logging for EngineIO. This is false by default. This is very verbose and should only be used for debugging issues.Additional Information
Screenshots or Videos
Example of logs you may see when

WEBSOCKET_SERVER_LOGGINGandWEBSOCKET_SERVER_ENGINEIO_LOGGINGare enabled.Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.