Skip to content

Commit 66996b2

Browse files
Fix Queue
1 parent afbda6f commit 66996b2

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

nodes/manager/manager.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,10 @@ def get_queued_jobs_info(self):
166166
return [
167167
{
168168
"priority": job[0] * -1,
169-
"job_id": job[1],
170-
"required_gpu_mem": job[2],
171-
"required_threads": job[3],
172-
"required_memory": job[4],
169+
"job_id": job[2],
170+
"required_gpu_mem": job[3],
171+
"required_threads": job[4],
172+
"required_memory": job[5],
173173
}
174174
for job in self.job_queue
175175
]

rhnode/rhnode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from .version import __version__
2222

2323
MANAGER_URL = "http://manager:8000/manager"
24-
MANAGER_URL = "http://localhost:8000/manager"
24+
# MANAGER_URL = "http://localhost:8000/manager"
2525

2626

2727
class RHNode(ABC, FastAPI):

0 commit comments

Comments
 (0)