Commit
·
576336e
1
Parent(s):
daf7968
improvement
Browse files- LoadBalancer.py +1 -1
LoadBalancer.py
CHANGED
@@ -227,7 +227,7 @@ class LoadBalancer:
|
|
227 |
#################################################################
|
228 |
|
229 |
def update_instances_health(self, instance, cache_size):
|
230 |
-
self.instances_health[instance] = {"used":cache_size,
|
231 |
"total": "50 GB"}
|
232 |
logging.info(f"Updated instance {instance} with cache size {cache_size}")
|
233 |
|
|
|
227 |
#################################################################
|
228 |
|
229 |
def update_instances_health(self, instance, cache_size):
|
230 |
+
self.instances_health[instance] = {"used":cache_size["cache_size"],
|
231 |
"total": "50 GB"}
|
232 |
logging.info(f"Updated instance {instance} with cache size {cache_size}")
|
233 |
|