Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
godfryd committed Jul 23, 2021
1 parent c327c99 commit 5319d1a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion server/kraken/server/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@ def _store_artifacts(job, step):
if not run.artifacts_files:
run.artifacts_files = []

action = step.fields.get('action', 'upload')
public = step.fields.get('public', False)
report_entry = step.fields.get('report_entry', None)
if report_entry:
Expand Down
2 changes: 1 addition & 1 deletion server/kraken/server/bg/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ def _estimate_timeout(job):
if timeout < user_timeout:
timeout = user_timeout

# it does not make sense to make timeout bigger than 3 days ie. seconds
# it does not make sense to make timeout bigger than 3 days ie. 259200 seconds
if timeout > 259200:
timeout = 259200

Expand Down

0 comments on commit 5319d1a

Please sign in to comment.