mirror of
https://github.com/clearml/clearml-serving
synced 2025-02-24 13:12:21 +00:00
Add task reload call that made statistics service not update correctly
This commit is contained in:
parent
c51e2d402e
commit
e3a8ed95b5
@ -428,6 +428,8 @@ class ModelRequestProcessor(object):
|
|||||||
"""
|
"""
|
||||||
if not task:
|
if not task:
|
||||||
task = self._task
|
task = self._task
|
||||||
|
|
||||||
|
task.reload()
|
||||||
configuration = task.get_parameters_as_dict().get("General") or {}
|
configuration = task.get_parameters_as_dict().get("General") or {}
|
||||||
endpoints = task.get_configuration_object_as_dict(name='endpoints') or {}
|
endpoints = task.get_configuration_object_as_dict(name='endpoints') or {}
|
||||||
canary_ep = task.get_configuration_object_as_dict(name='canary') or {}
|
canary_ep = task.get_configuration_object_as_dict(name='canary') or {}
|
||||||
|
Loading…
Reference in New Issue
Block a user