misc: use hobo.multitenant.spooler (#76693)
gitea/welco/pipeline/head This commit looks good Details

This commit is contained in:
Benjamin Dauvergne 2023-04-18 13:03:27 +02:00
parent 7c9e166981
commit c6814ea039
3 changed files with 3 additions and 2 deletions

1
debian/control vendored
View File

@ -25,7 +25,6 @@ Depends: ${misc:Depends},
python3-django-tenant-schemas,
python3-psycopg2,
python3-django-mellon,
python3-uwsgidecorators,
python3-xstatic-select2,
uwsgi,
uwsgi-plugin-python3,

2
debian/uwsgi.ini vendored
View File

@ -10,7 +10,7 @@ chmod-socket = 666
vacuum = true
spooler-processes = 3
spooler-python-import = hobo.provisionning.spooler
spooler-python-import = hobo.multitenant.spooler
spooler-max-tasks = 20
master = true

View File

@ -215,6 +215,8 @@ PHONE_AUTOTAKE_MELLON_USERNAME = False
REST_FRAMEWORK = {}
REST_FRAMEWORK['DEFAULT_AUTHENTICATION_CLASSES'] = ['rest_framework.authentication.BasicAuthentication']
USE_NEW_SPOOLER = True
local_settings_file = os.environ.get(
'WELCO_SETTINGS_FILE', os.path.join(os.path.dirname(__file__), 'local_settings.py')
)