From be8734f21b794440adb41eb135d69a86b06f183b Mon Sep 17 00:00:00 2001 From: Kevin Date: Thu, 23 Feb 2017 19:25:52 +0100 Subject: [PATCH] progress --- algorithm.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/algorithm.py b/algorithm.py index 4757296..ba54253 100644 --- a/algorithm.py +++ b/algorithm.py @@ -1,10 +1,7 @@ -if latency_datacenter < latency_cache - cache_niet +if latency_datacenter < latency_cache && connected(endpoint, cache) + cache_wel else - if connected(endpoint,cache) - cache_wel - else - cache_niet + cache_niet def cache_niet: