mirror of
https://github.com/clearml/clearml-serving
synced 2025-02-07 05:18:12 +00:00
Merge pull request #27 from thepycoder/bugfix/statistics_reload
Add task reload call that made statistics service not update correctly
This commit is contained in:
commit
45d0877c71
@ -428,6 +428,8 @@ class ModelRequestProcessor(object):
|
||||
"""
|
||||
if not task:
|
||||
task = self._task
|
||||
|
||||
task.reload()
|
||||
configuration = task.get_parameters_as_dict().get("General") or {}
|
||||
endpoints = task.get_configuration_object_as_dict(name='endpoints') or {}
|
||||
canary_ep = task.get_configuration_object_as_dict(name='canary') or {}
|
||||
|
Loading…
Reference in New Issue
Block a user