mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 14:13:08 -05:00
[PR #8147] [CLOSED] feat: add background saving for chat messages #8962
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/8147
Author: @cr-zhichen
Created: 12/27/2024
Status: ❌ Closed
Base:
dev← Head:dev📝 Commits (1)
9d69579feat: add background saving for chat messages📊 Changes
1 file changed (+36 additions, -9 deletions)
View changed files
📝
backend/open_webui/utils/middleware.py(+36 -9)📄 Description
In
middleware.py, a background database saving functionality has been added to address the issue discussed in #8088, where the output speed decreases due to database latency.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.