Skip to content

Commit

Permalink
Merge pull request #231 from antaliadom-team/feature/db_optimization
Browse files Browse the repository at this point in the history
enable prome get statistics on caching
  • Loading branch information
spaut33 committed May 19, 2023
2 parents a2f2185 + 930187a commit 3f13fa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion antalia_project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@

CACHES = {
'default': {
'BACKEND': 'django_redis.cache.RedisCache',
'BACKEND': 'django_prometheus.cache.backends.redis.RedisCache',
'LOCATION': CELERY_BROKER_URL, # Redis server location
'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'},
}
Expand Down

0 comments on commit 3f13fa2

Please sign in to comment.