Implentada RQ_Queues en el proyecto
This commit is contained in:
@@ -28,6 +28,7 @@ INSTALLED_APPS = [
|
||||
'oauth2_provider',
|
||||
'corsheaders',
|
||||
'rest_framework',
|
||||
'django_rq',
|
||||
|
||||
'fetcher.apps.FetcherConfig',
|
||||
'users.apps.UsersConfig',
|
||||
@@ -89,6 +90,18 @@ CACHES = {
|
||||
}
|
||||
}
|
||||
|
||||
RQ_QUEUES = {
|
||||
'high': {
|
||||
'USE_REDIS_CACHE': 'default',
|
||||
},
|
||||
'default': {
|
||||
'USE_REDIS_CACHE': 'default',
|
||||
},
|
||||
'low': {
|
||||
'USE_REDIS_CACHE': 'default',
|
||||
},
|
||||
}
|
||||
|
||||
SESSION_ENGINE = "django.contrib.sessions.backends.cache"
|
||||
SESSION_CACHE_ALIAS = "default"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user