mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 03:01:06 -03:30
Apply ephemeral cache for some memoize tasks recently merged
This commit is contained in:
@@ -108,4 +108,7 @@ CACHES = {
|
|||||||
'LOCATION': '{}:{}'.format(os.getenv("MEMCACHED_HOST", None),
|
'LOCATION': '{}:{}'.format(os.getenv("MEMCACHED_HOST", None),
|
||||||
os.getenv("MEMCACHED_PORT", "11211"))
|
os.getenv("MEMCACHED_PORT", "11211"))
|
||||||
},
|
},
|
||||||
|
'ephemeral': {
|
||||||
|
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -89,4 +89,7 @@ data:
|
|||||||
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
|
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
|
||||||
'LOCATION': '{}:{}'.format("localhost", "11211")
|
'LOCATION': '{}:{}'.format("localhost", "11211")
|
||||||
},
|
},
|
||||||
|
'ephemeral': {
|
||||||
|
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user