Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
aurweb
Commits
86caee74
Verified
Commit
86caee74
authored
Feb 10, 2022
by
Kevin Morris
Browse files
fix(rpc): use max_rpc_results for type=multiinfo result limit
Signed-off-by:
Kevin Morris
<
kevr@0cost.org
>
parent
f928a49c
Changes
1
Hide whitespace changes
Inline
Side-by-side
aurweb/rpc.py
View file @
86caee74
...
...
@@ -274,7 +274,8 @@ class RPC:
]
# Union all subqueries together.
query
=
subqueries
[
0
].
union_all
(
*
subqueries
[
1
:])
max_results
=
config
.
getint
(
"options"
,
"max_rpc_results"
)
query
=
subqueries
[
0
].
union_all
(
*
subqueries
[
1
:]).
limit
(
max_results
)
# Store our extra information in a class-wise dictionary,
# which contains package id -> extra info dict mappings.
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment