mirror of
https://github.com/clearml/clearml-serving
synced 2025-02-07 05:18:12 +00:00
Fix statistics container auto reload configuration
This commit is contained in:
parent
f2e207e2f2
commit
5361bd3285
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user