]> git.openstreetmap.org Git - dns.git/commitdiff
Don't try and route global caches to an upstream
authorTom Hughes <tom@compton.nu>
Wed, 30 Sep 2020 21:36:37 +0000 (22:36 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 30 Sep 2020 21:36:37 +0000 (22:36 +0100)
bin/mkgeo

index c89921eca6ac4a9986ba14adb40f4222a6304e2b..18aefea9c59617258b9c1978a7da748b0964723a 100755 (executable)
--- 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;