Update the flask-socketio config to play more nicely:

* Reverts run commands to what they previously were
* Addresses some outstanding linting/formatting
* Accounts for proper config initialization (CORS, Redis)
* Updates dependencies and pulls in latest changes from main

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
Carlo Costino
2025-04-16 17:43:10 -04:00
parent 71e8f20b04
commit 419d6cee69
8 changed files with 29 additions and 19 deletions

View File

@@ -898,10 +898,15 @@ def dao_update_delivery_receipts(receipts, delivered):
updated {len(receipts)} notification in {elapsed_time} ms"
)
current_app.logger.info("✅✅✅✅ Reached delivery receipt processing")
job_ids = db.session.execute(
select(Notification.job_id)
.where(Notification.message_id.in_(id_to_carrier.keys()))
).scalars().all()
job_ids = (
db.session.execute(
select(Notification.job_id).where(
Notification.message_id.in_(id_to_carrier.keys())
)
)
.scalars()
.all()
)
for job_id in set(job_ids):
job = dao_get_job_by_id(job_id)