Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rocket.Chat
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RocketChat
Rocket.Chat
Commits
83d92701
Unverified
Commit
83d92701
authored
8 months ago
by
Henrique Guimarães Ribeiro
Committed by
GitHub
8 months ago
Browse files
Options
Downloads
Patches
Plain Diff
regression: Fix new user panel memory exceeded error (#32696)
parent
0f7e52ba
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.changeset/dull-knives-complain.md
+5
-0
5 additions, 0 deletions
.changeset/dull-knives-complain.md
apps/meteor/app/api/server/lib/users.ts
+1
-0
1 addition, 0 deletions
apps/meteor/app/api/server/lib/users.ts
with
6 additions
and
0 deletions
.changeset/dull-knives-complain.md
0 → 100644
+
5
−
0
View file @
83d92701
---
"
@rocket.chat/meteor"
:
patch
---
Added the allowDiskUse option to the users page queries so that if the mongodb memory threshold is exceeded it will use disk space instead of throwing an error.
This diff is collapsed.
Click to expand it.
apps/meteor/app/api/server/lib/users.ts
+
1
−
0
View file @
83d92701
...
...
@@ -205,6 +205,7 @@ export async function findPaginatedUsersByStatus({
skip
:
offset
,
limit
:
count
,
projection
,
allowDiskUse
:
true
,
},
);
const
[
users
,
total
]
=
await
Promise
.
all
([
cursor
.
toArray
(),
totalCount
]);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment