Skip to content

Commit

Permalink
Updated the default argument for delete job to be more forthright wit…
Browse files Browse the repository at this point in the history
…h its value.
  • Loading branch information
christophertubbs authored Mar 20, 2024
1 parent 9c5e3cc commit a241faf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lib/scheduler/dmod/scheduler/job/job_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ def create_job(self, request: SchedulerRequestMessage, *args, **kwargs) -> Reque
self.save_job(job_obj)
return job_obj

def delete_job(self, job_id, max_attempt_count: int = None) -> bool:
def delete_job(self, job_id, max_attempt_count: int = 5) -> bool:
"""
Delete the job record for the job with the given id value.
Expand Down

0 comments on commit a241faf

Please sign in to comment.