mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 06:02:06 -05:00
[PR #5977] [CLOSED] perf: Introduce offline mode variable for Air-gapped environment and disable version check #8600
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/5977
Author: @saravanan30erd
Created: 10/7/2024
Status: ❌ Closed
Base:
dev← Head:main📝 Commits (10+)
c8c41e0Merge pull request #5744 from open-webui/dev466974fMerge pull request #5950 from open-webui/dev2113c2fMerge pull request #5952 from open-webui/devcd62d89Merge pull request #5953 from open-webui/dev8b3972cMerge pull request #5954 from open-webui/devbc29d5dMerge pull request #5956 from open-webui/dev7cebcf0Merge pull request #5958 from open-webui/devad7bc62Merge pull request #5961 from open-webui/dev3f89258Merge pull request #5965 from open-webui/dev9f14001add offline_mode and disable version check📊 Changes
2 files changed (+17 additions, -5 deletions)
View changed files
📝
backend/open_webui/env.py(+6 -0)📝
backend/open_webui/main.py(+11 -5)📄 Description
Pull Request Checklist
Fix: https://github.com/open-webui/open-webui/discussions/5759
Description
Open WebUI having performance issues in offline (air-gapped) environment. When visiting the site, the API ( /api/version/updates ) will check the version (current & latest) information through the Internet. If its air-gapped environment then It takes around more than 2 mins to load the website (basically after the connection timeout, it uses current version as latest version)
Added
Introduced offline mode variable for Air-gapped environment and disabled version check from external source.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.