Skip to content

Commit

Permalink
updated defaults for failed jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Feb 23, 2018
1 parent 46963d3 commit 5781076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jobs/create-relval-jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def createJob(workflow, cmssw_ver, arch):
if os.path.exists(cmds):
e, o = getstatusoutput ("cat %s | grep ^step" % cmds)
for c in o.split("\n"):
job = {"cpu" : 300, "rss" : 6*1024*1024*1024, "time" : 3600, "command" : re.sub("\s*;\s*$","",c.split(":",1)[-1])}
job = {"cpu" : 300, "rss" : 4.5*1024*1024*1024, "time" : 120, "command" : re.sub("\s*;\s*$","",c.split(":",1)[-1])}
step = c.split(":")[0]
if (wf in wf_stats) and (step in wf_stats[wf]):
job["time"] = wf_stats[wf][step]["time"]
Expand Down

0 comments on commit 5781076

Please sign in to comment.