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:
Allegro AI
2022-06-03 13:26:15 +03:00
committed by GitHub

View File

@@ -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 {}