Persist messenger in PostgreSQL with sessions, cache and recovery evidence

This commit is contained in:
2026-10-16 15:16:17 +03:00
parent 65003b6119
commit be6f10f195
34 changed files with 8920 additions and 55 deletions
+9
View File
@@ -0,0 +1,9 @@
import logging
import os
import uvicorn
logging.basicConfig(level=logging.INFO, format='%(message)s')
uvicorn.run('src.app:app', host=os.environ.get('APP_HOST', '0.0.0.0'),
port=int(os.environ.get('APP_PORT', '8080')), workers=1,
access_log=False, server_header=False, timeout_keep_alive=2,
timeout_graceful_shutdown=5, backlog=64, h11_max_incomplete_event_size=16384)