Skip to content

Commit

Permalink
chore: run celery tasks in the main process during dev
Browse files Browse the repository at this point in the history
Change-Id: I42e1603ef1fecccab47f69808dc18d09e3850a05
  • Loading branch information
Guillaume-sousa committed Jan 10, 2024
1 parent 1fa1255 commit 966e345
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mdcs/dev_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from .settings import * # noqa


# Run in debug mode in development
DEBUG = True

DATABASES = {
Expand All @@ -18,9 +18,12 @@
}
}

# Remove constraint checks on passwords
AUTH_PASSWORD_VALIDATORS = []

# Disable async mongo updates
MONGODB_ASYNC_SAVE = False
# Enable captcha test mode (use PASSED)
CAPTCHA_TEST_MODE = True
# Run celery tasks in the main process
CELERY_ALWAYS_EAGER = True

0 comments on commit 966e345

Please sign in to comment.