From: Tom Hughes Date: Wed, 30 Sep 2020 21:36:37 +0000 (+0100) Subject: Don't try and route global caches to an upstream X-Git-Url: https://git.openstreetmap.org./dns.git/commitdiff_plain/61a1aecd20674600e8a0100034266efcc99345da Don't try and route global caches to an upstream --- diff --git a/bin/mkgeo b/bin/mkgeo index c89921e..18aefea 100755 --- a/bin/mkgeo +++ b/bin/mkgeo @@ -143,6 +143,8 @@ my $targetorigins = {}; # Initialise cluster details while (my($name,$cluster) = each %$clusters) { + next if $cluster->{global}; + $cluster->{bandwidth_limit} = $cluster->{bandwidth} * 1024 * 1024; $cluster->{bandwidth_used} = 0;