centralized and lazy-loaded redis client singleton, check for manage.py commands so we don't init proxyservers (redis connection), put manage commmands before starting uwsgi

This commit is contained in:
dekzter 2025-04-04 16:18:12 -04:00
parent 5abaddebf8
commit 7351264e8a
15 changed files with 213 additions and 174 deletions

View file

@ -22,6 +22,7 @@ INSTALLED_APPS = [
'apps.m3u',
'apps.output',
'apps.proxy.apps.ProxyConfig',
'apps.proxy.ts_proxy',
'core',
'drf_yasg',
'daphne',