Skip to content

Commit

Permalink
fix worker allocation
Browse files Browse the repository at this point in the history
  • Loading branch information
ispirtraian committed Apr 22, 2024
1 parent 0966d48 commit a34c955
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/serving/serving_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@ def _predict_job (self, model_type: str, input, params:dict = None):

if result is None:
try:
workername = workername if tndx == 0 else None
self.postgres_insert_data(
"tasks",
uuid = taskid,
Expand Down

0 comments on commit a34c955

Please sign in to comment.