Skip to content

Commit

Permalink
chore: Use env variable for Memcache location
Browse files Browse the repository at this point in the history
  • Loading branch information
mfarhan943 committed Nov 19, 2024
1 parent f187138 commit ccf0957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enterprise_subsidy/settings/devstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',
'LOCATION': 'enterprise-subsidy.memcache:11211',
'LOCATION': os.environ.get('MEMCACHE_HOST', 'enterprise-subsidy.memcache:11211'),
}

}
Expand Down

0 comments on commit ccf0957

Please sign in to comment.