mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-18 00:55:50 +00:00
- Enable gevent cooperative multitasking in all uWSGI worker configs (gevent-early-monkey-patch + import dispatcharr.gevent_patch) - Rewrite WebSocket group sends to bypass asyncio in gevent workers: _gevent_ws_send() replicates the channels_redis 4.x wire format directly via synchronous Redis so send_websocket_update() and _send_async() no longer fail silently after epoll is patched out - Fix PostgreSQL connection exhaustion: CONN_MAX_AGE=0 + explicit close_old_connections() in stream manager and cleanup watchdog loops - Fix stream proxy race: register client before the connect-wait loop so the cleanup watchdog never sees zero clients on a live channel - Channel list/logo/profile queryset optimisations: conditional DISTINCT, EXISTS semi-joins for filter-options, channel_count annotation to eliminate N+1 in LogoSerializer, prefetched memberships in ChannelProfileSerializer - JsonResponse for channel ID list and summary endpoints |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| admin.py | ||
| app_initialization.py | ||
| asgi.py | ||
| celery.py | ||
| consumers.py | ||
| gevent_patch.py | ||
| jwt_ws_auth.py | ||
| persistent_lock.py | ||
| routing.py | ||
| settings.py | ||
| urls.py | ||
| utils.py | ||
| wsgi.py | ||