soulsync/wsgi.py
Antti Kettunen 14bc9b6fad Introduce Gunicorn production runner
Switch the web UI from Werkzeug's built-in server to Gunicorn for a more stable production deployment path.

Keep a separate dev config so local runs still reload quickly, while the production path uses a dedicated WSGI entrypoint and cleaner startup behavior.

The main motivation is to reduce the websocket teardown noise and make the server behavior more predictable under the app's mostly background-driven workload.
2026-04-18 19:21:53 +03:00

8 lines
157 B
Python

"""WSGI entrypoint for SoulSync production deployments."""
from web_server import app, start_runtime_services
start_runtime_services()
application = app