Add task reload call that made statistics service not update correctly

This commit is contained in:
Victor Sonck 2022-06-01 09:54:02 +02:00
parent c51e2d402e
commit e3a8ed95b5

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