cache: replace memcache with redis.

Drop memcache. Use redis for all caching instead.
This commit is contained in:
evazion
2019-08-22 23:15:34 -05:00
parent 2e407fa476
commit dfe2b831a3
8 changed files with 30 additions and 46 deletions

View File

@@ -129,11 +129,6 @@ module Danbooru
300
end
# List of memcached servers
def memcached_servers
%w(127.0.0.1:11211)
end
# After a post receives this many comments, new comments will no longer bump the post in comment/index.
def comment_threshold
40
@@ -786,6 +781,7 @@ module Danbooru
end
def redis_url
"redis://localhost:6379"
end
end