0

Remove memcached support

Apparently we had memcached support. It was never worth it, and put
a weird md5 hash calculation in the path of regular caching. Seeing
as it was completely undocumented, I doubt anyone has ever used it.
This commit is contained in:
Nicolas F
2017-03-16 14:45:19 +01:00
parent b7995efe42
commit f1909e9684
4 changed files with 1 additions and 36 deletions

View File

@@ -731,7 +731,7 @@ class CachedRegionSet(RegionSetWrapper):
self.key = s
def get_chunk(self, x, z):
key = hashlib.md5(repr((self.key, x, z))).hexdigest()
key = (self.key, x, z)
for i, cache in enumerate(self.caches):
try:
retval = cache[key]