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.
🔄 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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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:
dev← Head:fix/decode📝 Commits (1)
c5b67eafix: 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
decode_responses=Truethis isn't required.decodeis also not a supported string method in python3.Fixes:
See #7964 for more details
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.