Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Akonadi Search
Commits
22f5c510
Commit
22f5c510
authored
Sep 30, 2020
by
Laurent Montel
😁
Browse files
It takes a lot of memory. Reduce the max number of element
parent
ceb0124b
Pipeline
#36011
passed with stage
in 20 minutes and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib/emailquery.cpp
View file @
22f5c510
...
...
@@ -339,7 +339,8 @@ ResultIterator EmailQuery::exec()
enquire
.
set_query
(
query
);
if
(
d
->
limit
==
0
)
{
d
->
limit
=
1000000
;
//d->limit = 1000000;
d
->
limit
=
100000
;
}
Xapian
::
MSet
mset
=
enquire
.
get_mset
(
0
,
d
->
limit
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment