Commit 3b03f724 authored by Azat Khuziyakhmetov's avatar Azat Khuziyakhmetov
Browse files

bugfix in walltime recommendation

parent ea5dfe2d
...@@ -171,8 +171,8 @@ class Attributes: ...@@ -171,8 +171,8 @@ class Attributes:
MIN_R = 4 MIN_R = 4
SHIFT_R = 6 SHIFT_R = 6
rtime = self._aggr.job.run_time utime = self._aggr.job.run_time / 60 / 60
utime = self._aggr.job.requested_time rtime = self._aggr.job.requested_time / 60 / 60
res = "UNKNOWN" res = "UNKNOWN"
if rtime > MIN_R and utime < rtime/2 and utime < (rtime - SHIFT_R): if rtime > MIN_R and utime < rtime/2 and utime < (rtime - SHIFT_R):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment