Robust
Well-known member
Yeah - that's Xon's advice. Try it, should work.So, I change appendonly yes to appendonly no
And comment this three rows:
#save 900 1
#save 300 10
#save 60 10000
Is that OK?
Yeah - that's Xon's advice. Try it, should work.So, I change appendonly yes to appendonly no
And comment this three rows:
#save 900 1
#save 300 10
#save 60 10000
Is that OK?
Yes, this is correct. Silly typoappendonly no
save 0 (or remove the line)
I assume he meant RDB and not RDC, idk what RDC is lol
When I use this config (disable saving), After I upgrade Redis to 3.0.7, it ask me to upgrade XenForo again, Why?This one right?
![]()
When redis restarts, it automatically loads any dump.rdb or appendonly.aof from /var/lib/redis/, you likely have a stale file in there.When I use this config (disable saving), After I upgrade Redis to 3.0.7, it ask me to upgrade XenForo again, Why?
And I lost some cache also like bd widgets.
Note; This is a very minor update.
- Track latest Redis integration component (Credis project).
- Improved fwrite handling to retry once if 0 is returned. Help some random 'Failed to write entire command to stream' messages.
- Cleanup CSS cache invalidation logic.
- 1.1.7 release contained a bug from upstream credis library if a write occurred and then continued to occur. This has been fixed by upstream.
credis is a fork of predis before predis changed it's licence.Can this plugin use pecl php-redis instead of predis (credis is a wrapper for predis as far as I can tell)?
- Improve AdminCP redis stats reporting for non-default redis database index. Thanks @eva2000 for reporting this.
- Upstream bugfix for calling 'start pipelining' twice.
- Affects instrumentation or redis proxies, as redis silently ignores the 2nd call.
$config['cache']['backend'] = 'Redis';
$config['cache']['backendOptions'] = array(
'server' => '127.0.0.1',
'port' => 6379,
'connect_retries' => 2,
'use_lua' => true,
);
require(XenForo_Application::getConfigDir().'/SV/RedisCache/Installer.php');
'server' => '127.0.0.1',
'port' => 6379,
'timeout' => 2.5,
'persistent' : '',
'force_standalone' => false,
'connect_retries' => 1,
'read_timeout' => '',
'password' => '',
'database' => 0,
'notMatchingTags' => false,
'compress_tags' => 1,
'compress_data' => 1,
'lifetimelimit' => 2592000,
'compress_threshold' => 20480,
'automatic_cleaning_factor' => 0,
'compression_lib' => '', // dynamically select first of; snappy,lzf,l4z,gzip
'use_lua' => false,
'sunion_chunk_size' => 500,
'lua_max_c_stack' => 5000,
I'm not sure why the Redis client bit lets you have a blank passwordedit: I commented out the password and was able to get it to work, yay! Just need to figure out how to get it work using the password. Appreciate any help.![]()
We use essential cookies to make this site work, and optional cookies to enhance your experience.