Refactor tracking and xqueue initialization to no longer require a request. Get tracking logs to work. Add transaction annotations.

Make sure to read only once from result objects when getting result status,
so that values are consistent.
This commit is contained in:
Brian Wilson
2013-05-09 03:07:05 -04:00
parent 7711c00e2c
commit 95c1c4b8a8
6 changed files with 376 additions and 249 deletions

View File

@@ -188,3 +188,8 @@ PASSWORD_HASHERS = (
'django.contrib.auth.hashers.MD5PasswordHasher',
# 'django.contrib.auth.hashers.CryptPasswordHasher',
)
################################# CELERY ######################################
# By default don't use a worker, execute tasks as if they were local functions
CELERY_ALWAYS_EAGER = True