diff --git a/algorithm.py b/algorithm.py index 063742b..4757296 100644 --- a/algorithm.py +++ b/algorithm.py @@ -1,7 +1,7 @@ if latency_datacenter < latency_cache cache_niet else - if endpoint connected to cache + if connected(endpoint,cache) cache_wel else cache_niet