misc: use hobo.multitenant.spooler (#76693) #1

Open
bdauvergne wants to merge 1 commits from wip/76693-utiliser-hobo-multitenant-spoole into main
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')
)