Number of database I thinkI see in Redis info connected clients=1
what does connected clients refers to?
Yup.Ok, save 86400 1 should do?
It is the number of simultaneous connections to Redis from php, due to how XF works it is basically a proxy for how many users you have at a given time.I see in Redis info connected clients=1
what does connected clients refers to?
Yup.
It is the number of simultaneous connections to Redis from php, due to how XF works it is basically a proxy for how many users you have at a given time.
so i have a question do you have to create a databse for it or its just a value you have to set ? its my first time doing thisThink I got it, is this okay?
Code:$config['cache']['sessions'] = true; $config['cache']['enabled'] = true; $config['cache']['provider'] = 'SV\RedisCache\Redis'; $config['cache']['config'] = array( 'server' => 'x.x.x.x', 'port' => 6379, 'compress_data' => 6, 'password' => 'removed', 'use_lua' => true, 'read_timeout' => 1, 'timeout' => 2, 'database' => 2, );
It's just a value you set.so i have a question do you have to create a databse for it or its just a value you have to set ? its my first time doing this
bind 127.0.0.1
port 6379
daemonize yes
save 86400 1
stop-writes-on-bgsave-error no
maxmemory-policy allkeys-lfu
lfu-log-factor 10
lfu-decay-time 1
dir "/var/lib/redis"
logfile "/var/log/redis/redis.log"
Isn't any real benefits to having it enabled, it just makes the query more complex as it becomes per-person instead of sharable with other usersRegarding "Count Moderated Threads", should we enable this to have a shared cache? Will this have some performance benefits if activated?
- Workaround for persistent connections and XF2.1 page cache feature causing login failures when using multiple databases in the same redis instance.
- Track latest upstream Credis library
We use essential cookies to make this site work, and optional cookies to enhance your experience.