mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
Some more tests around edge cases
This commit is contained in:
@@ -36,7 +36,7 @@ def process_job(job_id):
|
||||
job_size = job.notification_count
|
||||
total_sent = stats.emails_requested + stats.sms_requested
|
||||
|
||||
if total_sent + job_size >= sending_limit:
|
||||
if total_sent + job_size > sending_limit:
|
||||
finished = datetime.utcnow()
|
||||
job.status = 'finished'
|
||||
job.processing_finished = finished
|
||||
|
||||
Reference in New Issue
Block a user