File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 38
38
# Tests that do not rely on default parametrization will not be affected.
39
39
40
40
41
- ALL_CELERY_BACKENDS = []
42
- ALL_CELERY_BROKERS = []
41
+ ALL_CELERY_BACKENDS = set ()
42
+ ALL_CELERY_BROKERS = set ()
43
43
44
44
if _is_vendor_installed ("redis" ):
45
- ALL_CELERY_BACKENDS .append (CELERY_REDIS_BACKEND )
46
- ALL_CELERY_BROKERS .append (CELERY_REDIS_BROKER )
45
+ ALL_CELERY_BACKENDS .add (CELERY_REDIS_BACKEND )
46
+ ALL_CELERY_BROKERS .add (CELERY_REDIS_BROKER )
47
47
48
48
if _is_vendor_installed ("rabbitmq" ):
49
49
# Uses Kombu
50
- ALL_CELERY_BROKERS .append (CELERY_RABBITMQ_BROKER )
50
+ ALL_CELERY_BROKERS .add (CELERY_RABBITMQ_BROKER )
51
51
52
52
# Memcached is disabled by default regardless of its availability due to its experimental status.
53
53
if _is_vendor_installed ("memcached" ) and False :
54
- ALL_CELERY_BACKENDS .append (CELERY_MEMCACHED_BACKEND )
54
+ ALL_CELERY_BACKENDS .add (CELERY_MEMCACHED_BACKEND )
55
55
56
56
# Worker setup is assumed to be always available.
57
57
ALL_CELERY_WORKERS = (CELERY_SETUP_WORKER ,)
You can’t perform that action at this time.
0 commit comments