Skip to content

Commit

Permalink
Updated default CACHE LOCATION to 0.0.0.0 to make it work on single n…
Browse files Browse the repository at this point in the history
…ode environments
  • Loading branch information
Daniel committed Dec 18, 2024
1 parent 9080f40 commit 40249d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/mainsite/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def legacy_boolean_parsing(env_key, default_value):
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',
'LOCATION': os.environ.get('MEMCACHED', 'localhost:11211'),
'LOCATION': os.environ.get('MEMCACHED', '0.0.0.0:11211'),
}
}

Expand Down

0 comments on commit 40249d2

Please sign in to comment.