Skip to content

Commit

Permalink
Merge pull request #34 from CAAI/dev/cleanup_rhprocess
Browse files Browse the repository at this point in the history
Fix Queue
  • Loading branch information
ChristianHinge authored Mar 25, 2024
2 parents fdf1312 + 66996b2 commit a572688
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions nodes/manager/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,10 @@ def get_queued_jobs_info(self):
return [
{
"priority": job[0] * -1,
"job_id": job[1],
"required_gpu_mem": job[2],
"required_threads": job[3],
"required_memory": job[4],
"job_id": job[2],
"required_gpu_mem": job[3],
"required_threads": job[4],
"required_memory": job[5],
}
for job in self.job_queue
]
Expand Down
2 changes: 1 addition & 1 deletion rhnode/rhnode.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from .version import __version__

MANAGER_URL = "http://manager:8000/manager"
MANAGER_URL = "http://localhost:8000/manager"
# MANAGER_URL = "http://localhost:8000/manager"


class RHNode(ABC, FastAPI):
Expand Down

0 comments on commit a572688

Please sign in to comment.