mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-29 22:11:52 -05:00
removing run.py and unnecessary logs
This commit is contained in:
@@ -897,7 +897,6 @@ def dao_update_delivery_receipts(receipts, delivered):
|
||||
f"#loadtestperformance batch update query time: \
|
||||
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(
|
||||
|
||||
19
run.py
19
run.py
@@ -1,19 +0,0 @@
|
||||
# flake8: noqa: E402
|
||||
import eventlet
|
||||
|
||||
eventlet.monkey_patch()
|
||||
|
||||
from flask import Flask
|
||||
|
||||
from app import create_app, socketio
|
||||
|
||||
|
||||
def build_application():
|
||||
application = Flask("app")
|
||||
create_app(application)
|
||||
return application
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
application = build_application()
|
||||
socketio.run(application, host="0.0.0.0", port=6011, debug=True, use_reloader=True)
|
||||
Reference in New Issue
Block a user