Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/pool.php
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-06-06 16:29:07 +0200
committerErich Eckner <git@eckner.net>2019-06-06 16:29:07 +0200
commite1752f263031860b7b374f7d715c395f8f87eaaa (patch)
tree1009317a1a468be9a695d9b0070b30496f493fcd /pool.php
parent2d002eb2628a179430eb9524485df83478c4ccfa (diff)
pool.php: ignore .oss mirrors
Diffstat (limited to 'pool.php')
-rw-r--r--pool.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/pool.php b/pool.php
index 05cece3..16da13a 100644
--- a/pool.php
+++ b/pool.php
@@ -18,6 +18,7 @@ $result = mysql_run_query(
' AND `mirror_statuses`.`last_sync` > UNIX_TIMESTAMP(NOW())-' . $cutoff .
' AND `mirror_statuses`.`start` > UNIX_TIMESTAMP(NOW())-' . $cutoff .
' AND `mirror_statuses`.`protocol` = "' . $protocol . '"' .
+ ' AND `mirror_statuses`.`url` NOT LIKE "%.oss/%"' .
' GROUP BY `mirror_statuses`.`url`' .
' ORDER BY SHA2(' .
'CONCAT(' .