From d84c06e774f595d849f024cfaf77135e0cf56cf3 Mon Sep 17 00:00:00 2001 From: xd Date: Thu, 23 Feb 2017 19:24:50 +0100 Subject: [PATCH] better --- algorithm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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