...
|
...
|
@@ -3,7 +3,7 @@ local lrucache = require "resty.lrucache" |
|
|
-- init redis twemproxy config
|
|
|
local redis_config1={host="127.0.0.1",port="6379",auth=nil,timeout=20,max_idle_timeout=60000,pool_size=200}
|
|
|
|
|
|
local ip_limit_redis_config={host="redis.nginx.yohoops.org",port="6379",auth=redis9646,timeout=20,max_idle_timeout=60000,pool_size=100}
|
|
|
local ip_limit_redis_config={host="redis.nginx.yohoops.org",port="6379",auth="redis9646",timeout=20,max_idle_timeout=60000,pool_size=100}
|
|
|
|
|
|
|
|
|
local redis_util=require("redisutil")
|
...
|
...
|
|