Fix statistics container auto reload configuration

This commit is contained in:
allegroai 2022-06-05 16:11:44 +03:00
parent f2e207e2f2
commit 5361bd3285

View File

@ -338,7 +338,7 @@ class StatisticsController(object):
self.task.id, os.getpid(), poll_freq_sec)) self.task.id, os.getpid(), poll_freq_sec))
while True: while True:
try: try:
self._serving_service.deserialize() self._serving_service.reload()
endpoint_metrics = self._serving_service.list_endpoint_logging() endpoint_metrics = self._serving_service.list_endpoint_logging()
self._last_sync_time = time() self._last_sync_time = time()
if self._current_endpoints == endpoint_metrics: if self._current_endpoints == endpoint_metrics: