Skip to content

Commit

Permalink
Convert time from minutes to seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
sujen1412 committed Sep 17, 2024
1 parent 0ff9029 commit 8ca7692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/endpoints/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def post(self):
queue = job_queue.validate_or_get_queue(queue, job_type, user.id)
job_time_limit = hysds_io.get("result").get("soft_time_limit", 86400)
if job_queue.contains_time_limit(queue):
job_time_limit = queue.time_limit_minutes
job_time_limit = int(queue.time_limit_minutes) * 60
response = hysds.mozart_submit_job(job_type=job_type, params=params, dedup=dedup, queue=queue.queue_name,
identifier=identifier, job_time_limit=int(job_time_limit))

Expand Down

0 comments on commit 8ca7692

Please sign in to comment.