Skip to content

Commit

Permalink
build: migrate devstack cache backend (#2160)
Browse files Browse the repository at this point in the history
* build: include pooling in cache backend
  • Loading branch information
UsamaSadiq authored Sep 12, 2023
1 parent 498766b commit 7793188
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion credentials/settings/devstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@

CACHES = {
"default": {
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
"BACKEND": "django.core.cache.backends.memcached.PyMemcacheCache",
"LOCATION": os.environ.get("CACHE_LOCATION", "edx.devstack.memcached:11211"),
"OPTIONS": {"no_delay": True, "ignore_exec": True, "use_pooling": True},
}
}

Expand Down

0 comments on commit 7793188

Please sign in to comment.