diff options
author | Erich Eckner <git@eckner.net> | 2018-02-28 22:32:07 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-02-28 22:32:07 +0100 |
commit | 1b15a4704e80853b99eef83a3e26e7735bec2f54 (patch) | |
tree | d77655dcb57f94930a1a16790512d693efd37a84 /web-scripts | |
parent | 6c68e125ed9307fa6628937e4ee162c641db1297 (diff) | |
download | builder-1b15a4704e80853b99eef83a3e26e7735bec2f54.tar.xz |
web-scripts/dependencies.php: limit to 50 connections each
Diffstat (limited to 'web-scripts')
-rw-r--r-- | web-scripts/dependencies.php | 6 |
1 files changed, 4 insertions, 2 deletions
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); |