From 1b15a4704e80853b99eef83a3e26e7735bec2f54 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 28 Feb 2018 22:32:07 +0100 Subject: web-scripts/dependencies.php: limit to 50 connections each --- web-scripts/dependencies.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'web-scripts') diff --git a/web-scripts/dependencies.php b/web-scripts/dependencies.php index 66221bd..4f12c52 100644 --- a/web-scripts/dependencies.php +++ b/web-scripts/dependencies.php @@ -34,7 +34,8 @@ if (! $result = $mysql -> query( " JOIN `dependencies` ON `dependencies`.`dependent`=`binary_packages`.`id`" . " JOIN `install_targets` ON `dependencies`.`depending_on`=`install_targets`.`id`" . $ignore_install_targets . - " JOIN `install_target_providers` ON `install_target_providers`.`install_target`=`dependencies`.`depending_on`" + " JOIN `install_target_providers` ON `install_target_providers`.`install_target`=`dependencies`.`depending_on`" . + " LIMIT 50" )) die($mysql->error); @@ -46,7 +47,8 @@ if (! $result = $mysql -> query( " JOIN `architectures` ON `binary_packages`.`architecture`=`architectures`.`id`" . $match . " JOIN `install_target_providers` ON `install_target_providers`.`package`=`binary_packages`.`id`" . - " JOIN `dependencies` ON `install_target_providers`.`install_target`=`dependencies`.`depending_on`" + " JOIN `dependencies` ON `install_target_providers`.`install_target`=`dependencies`.`depending_on`" . + " LIMIT 50" )) die($mysql->error); -- cgit v1.2.3-70-g09d2