[PR #8660] [MERGED] Remove unnecessary decode statement from release_lock method #22267

Closed
opened 2026-04-20 04:02:04 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/8660
Author: @jk-f5
Created: 1/17/2025
Status: Merged
Merged: 1/17/2025
Merged by: @tjbck

Base: devHead: fix/decode


📝 Commits (1)

  • c5b67ea fix: Remove unnecessary decode statement

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 backend/open_webui/socket/utils.py (+1 -1)

📄 Description

Changelog Entry

Description

  • Remove unnecessary decode statement from release_lock method. Since our Redis instance is created with decode_responses=True this isn't required. decode is also not a supported string method in python3.

Fixes:

  • Address stack trace on Open Webui shutdown with Redis support enabled.

See #7964 for more details


🔄 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/8660 **Author:** [@jk-f5](https://github.com/jk-f5) **Created:** 1/17/2025 **Status:** ✅ Merged **Merged:** 1/17/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `fix/decode` --- ### 📝 Commits (1) - [`c5b67ea`](https://github.com/open-webui/open-webui/commit/c5b67ea4308c1d880ee5571f910e3fbce1f02b6f) fix: Remove unnecessary decode statement ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/socket/utils.py` (+1 -1) </details> ### 📄 Description # Changelog Entry ### Description - Remove unnecessary decode statement from release_lock method. Since our Redis instance is created with `decode_responses=True` this isn't required. `decode` is also not a supported string method in python3. Fixes: - Address stack trace on Open Webui shutdown with Redis support enabled. See #7964 for more details --- <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 2026-04-20 04:02:04 -05: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#22267