Add a test that shows how bad course api query counts are

This commit is contained in:
Calen Pennington
2019-01-22 14:50:11 -05:00
parent 945debb00f
commit 9ff9c33f59
2 changed files with 61 additions and 0 deletions

View File

@@ -73,6 +73,9 @@ class CacheIsolationMixin(object):
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'LOCATION': cache_name,
'KEY_FUNCTION': 'util.memcache.safe_key',
'OPTIONS': {
'MAX_ENTRIES': 1000,
},
} for cache_name in cls.ENABLED_CACHES
})