summaryrefslogtreecommitdiffstats
path: root/conf/config.proto
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2016-04-28 19:28:23 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2016-06-26 08:53:55 +0200
commitfbf3e5405781f0f7ded67e99ab83bebc0737499d (patch)
treef1e0a2ea3259f8f7455e4a1839be1908d42808ab /conf/config.proto
parent0350de4b422b06e99ce769ba03d451577ecb0ee8 (diff)
downloadaur-fbf3e5405781f0f7ded67e99ab83bebc0737499d.tar.gz
aur-fbf3e5405781f0f7ded67e99ab83bebc0737499d.tar.xz
Add hard limit for the length of dependency lists
Introduce a configuration option max_depends which can be used to specify a maximum number of (reverse) dependencies to display on the package details pages. Fixes FS#49059. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'conf/config.proto')
-rw-r--r--conf/config.proto1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/config.proto b/conf/config.proto
index 560c705e..64af774d 100644
--- a/conf/config.proto
+++ b/conf/config.proto
@@ -21,6 +21,7 @@ aur_location = https://aur.archlinux.org
git_clone_uri_anon = https://aur.archlinux.org/%s.git
git_clone_uri_priv = ssh://aur@aur.archlinux.org/%s.git
max_rpc_results = 5000
+max_depends = 1000
aur_request_ml = aur-requests@archlinux.org
request_idle_time = 1209600
auto_orphan_age = 15552000