Skip to content

Commit

Permalink
Update jobscheduler.py
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar authored Feb 8, 2018
1 parent 043e126 commit 97c5fe6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion jobs/jobscheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ def initJobs(jobs, resources, otype):
job["state"]="Pending"
job["exit_code"]=-1
job["jobid"]=group["name"]+"(%s/%s)" % (i+1, cmd_count)
if (i>0): group["commands"][i-1]["time"]=group["commands"][i-1]["time"]+job["time"]
for item in ["rss", "cpu"]:
if resources["total"][item]<job[item]: resources["total"][item]=job[item]+1
resources["available"]=deepcopy(resources["total"])
Expand Down

0 comments on commit 97c5fe6

Please sign in to comment.