mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 09:26:08 -05:00
initial
This commit is contained in:
@@ -55,7 +55,8 @@ def cleanup_unfinished_jobs():
|
||||
acceptable_finish_time = job.processing_started + timedelta(minutes=5)
|
||||
except TypeError:
|
||||
current_app.logger.error(
|
||||
f"Job ID {job.id} processing_started is {job.processing_started}."
|
||||
f"Job ID {job.id} processing_started is {job.processing_started}.",
|
||||
exc_info=True,
|
||||
)
|
||||
raise
|
||||
if now > acceptable_finish_time:
|
||||
|
||||
Reference in New Issue
Block a user