[PR #5977] [CLOSED] perf: Introduce offline mode variable for Air-gapped environment and disable version check #8600

Closed
opened 2025-11-11 18:00:45 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/5977
Author: @saravanan30erd
Created: 10/7/2024
Status: Closed

Base: devHead: main


📝 Commits (10+)

📊 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.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/5977 **Author:** [@saravanan30erd](https://github.com/saravanan30erd) **Created:** 10/7/2024 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `main` --- ### 📝 Commits (10+) - [`c8c41e0`](https://github.com/open-webui/open-webui/commit/c8c41e07e96140253eae07746ae24a120f9f33b7) Merge pull request #5744 from open-webui/dev - [`466974f`](https://github.com/open-webui/open-webui/commit/466974f344590588eff624821822a619da22c058) Merge pull request #5950 from open-webui/dev - [`2113c2f`](https://github.com/open-webui/open-webui/commit/2113c2f57f1a8f2ded35aa45075698bac648a160) Merge pull request #5952 from open-webui/dev - [`cd62d89`](https://github.com/open-webui/open-webui/commit/cd62d89dd9f4c27631b3f1ca4d1e004be22b7a2e) Merge pull request #5953 from open-webui/dev - [`8b3972c`](https://github.com/open-webui/open-webui/commit/8b3972c6df43a709510f57fc2f59c6cddb02385b) Merge pull request #5954 from open-webui/dev - [`bc29d5d`](https://github.com/open-webui/open-webui/commit/bc29d5d3c3534c7e42eb3bdf5fa5e11e7a287aaa) Merge pull request #5956 from open-webui/dev - [`7cebcf0`](https://github.com/open-webui/open-webui/commit/7cebcf064ae9e5d5c41772b0dff74339c548fec1) Merge pull request #5958 from open-webui/dev - [`ad7bc62`](https://github.com/open-webui/open-webui/commit/ad7bc624c22bf766fa8c509245bb8afe8792d6b3) Merge pull request #5961 from open-webui/dev - [`3f89258`](https://github.com/open-webui/open-webui/commit/3f892583c38e0df4b060bccd812aa86360484088) Merge pull request #5965 from open-webui/dev - [`9f14001`](https://github.com/open-webui/open-webui/commit/9f140015d3a95fedc4701f0d2f28ca1349428403) add offline_mode and disable version check ### 📊 Changes **2 files changed** (+17 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/env.py` (+6 -0) 📝 `backend/open_webui/main.py` (+11 -5) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-11 18:00:45 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#8600