From 61a1aecd20674600e8a0100034266efcc99345da Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 30 Sep 2020 22:36:37 +0100 Subject: [PATCH] Don't try and route global caches to an upstream --- bin/mkgeo | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.5