Skip to content

Commit 140605e

Browse files
authored
Merge pull request open-webui#19462 from open-webui/dev
0.6.40
2 parents 9899293 + f354756 commit 140605e

File tree

8 files changed

+14
-9
lines changed

8 files changed

+14
-9
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
### [0.6.39] - 2025-11-25
8+
## [0.6.40] - 2025-11-25
9+
10+
### Fixed
11+
12+
- 🗄️ A critical PostgreSQL user listing performance issue was resolved by removing a redundant count operation that caused severe database slowdowns and potential timeouts when viewing user lists in admin panels.
13+
14+
## [0.6.39] - 2025-11-25
915

1016
### Added
1117

backend/open_webui/models/users.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,6 @@ def get_users(
340340
query = query.order_by(User.created_at.desc())
341341

342342
# Count BEFORE pagination
343-
query = query.distinct(User.id)
344343
total = query.count()
345344

346345
# correct pagination logic

backend/requirements-min.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pydantic==2.11.9
77
python-multipart==0.0.20
88
itsdangerous==2.2.0
99

10-
python-socketio==5.13.0
10+
python-socketio==5.14.0
1111
python-jose==3.5.0
1212
cryptography
1313
bcrypt==5.0.0

backend/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pydantic==2.11.9
44
python-multipart==0.0.20
55
itsdangerous==2.2.0
66

7-
python-socketio==5.13.0
7+
python-socketio==5.14.0
88
python-jose==3.5.0
99
cryptography
1010
bcrypt==5.0.0

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "open-webui",
3-
"version": "0.6.39",
3+
"version": "0.6.40",
44
"private": true,
55
"scripts": {
66
"dev": "npm run pyodide:fetch && vite dev --host",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies = [
1212
"python-multipart==0.0.20",
1313
"itsdangerous==2.2.0",
1414

15-
"python-socketio==5.13.0",
15+
"python-socketio==5.14.0",
1616
"python-jose==3.5.0",
1717
"cryptography",
1818
"bcrypt==5.0.0",

src/lib/components/channel/ChannelInfoModal/UserList.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
let total = null;
4545
4646
let query = '';
47-
let orderBy = 'created_at'; // default sort key
47+
let orderBy = 'name'; // default sort key
4848
let direction = 'asc'; // default sort order
4949
5050
const setSortKey = (key) => {

0 commit comments

Comments
 (0)