Use in-memory backends for Celery in tests and workflows

At the moment, this doesn't have much of an effect since most task
calls are mock'd out.
This commit is contained in:
Adeodato Simó 2023-11-30 22:43:35 -03:00
parent f4133e0236
commit 3d28019146

View file

@ -15,11 +15,8 @@ env =
ALLOWED_HOSTS = your.domain.here ALLOWED_HOSTS = your.domain.here
BOOKWYRM_DATABASE_BACKEND = postgres BOOKWYRM_DATABASE_BACKEND = postgres
MEDIA_ROOT = images/ MEDIA_ROOT = images/
CELERY_BROKER = CELERY_BROKER_URL = memory://
REDIS_BROKER_PORT = 6379 CELERY_RESULT_BACKEND = cache+memory://
REDIS_BROKER_PASSWORD = beep
REDIS_ACTIVITY_PORT = 6379
REDIS_ACTIVITY_PASSWORD = beep
USE_DUMMY_CACHE = true USE_DUMMY_CACHE = true
FLOWER_PORT = 8888 FLOWER_PORT = 8888
EMAIL_HOST = smtp.mailgun.org EMAIL_HOST = smtp.mailgun.org