File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change 409
409
}
410
410
}
411
411
else :
412
+ # temp to check memory usage
412
413
CACHES = {
413
414
"default" : {
414
- "BACKEND" : "django_redis.cache.RedisCache" ,
415
- "LOCATION" : os .environ .get ("REDISCLOUD_URL" ),
416
- "OPTIONS" : {
417
- "CLIENT_CLASS" : "django_redis.client.DefaultClient" ,
418
- },
415
+ "BACKEND" : "django.core.cache.backends.locmem.LocMemCache" ,
416
+ "LOCATION" : "unique-snowflake" ,
419
417
}
420
418
}
421
419
420
+ # CACHES = {
421
+ # "default": {
422
+ # "BACKEND": "django_redis.cache.RedisCache",
423
+ # "LOCATION": os.environ.get("REDISCLOUD_URL"),
424
+ # "OPTIONS": {
425
+ # "CLIENT_CLASS": "django_redis.client.DefaultClient",
426
+ # },
427
+ # }
428
+ # }
429
+
422
430
if DEBUG or TESTING :
423
431
anon_throttle = 100000
424
432
user_throttle = 100000
You can’t perform that action at this time.
0 commit comments