Verified Commit 86caee74 authored by Kevin Morris's avatar Kevin Morris
Browse files

fix(rpc): use max_rpc_results for type=multiinfo result limit

Signed-off-by: Kevin Morris's avatarKevin Morris <>
parent f928a49c
......@@ -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.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment