mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-06 22:38:13 +08:00
Workaround for Travis
Travis doesn't support cpu affinity in their virtuals so I've added a setting TESTING that will bypass the actual affinity setting, but will still cover most of the code. Might be useful for future workarounds.
This commit is contained in:
@@ -103,4 +103,5 @@ STATIC_URL = '/static/'
|
||||
|
||||
# Django Q specific
|
||||
Q_CLUSTER = {'name': 'django_q_test',
|
||||
'cpu_affinity': 0}
|
||||
'cpu_affinity': 1,
|
||||
'testing': True}
|
||||
|
||||
Reference in New Issue
Block a user