diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2016-04-28 19:28:23 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2016-06-26 08:53:55 +0200 |
commit | fbf3e5405781f0f7ded67e99ab83bebc0737499d (patch) | |
tree | f1e0a2ea3259f8f7455e4a1839be1908d42808ab /conf | |
parent | 0350de4b422b06e99ce769ba03d451577ecb0ee8 (diff) | |
download | aur-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')
-rw-r--r-- | conf/config.proto | 1 |
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 |