mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-13 01:24:35 +01:00
config.php: fix default config for redis cache
This commit is contained in:
parent
b7a9f47a1b
commit
0e3f1555c0
@ -174,7 +174,7 @@
|
|||||||
// Redis server to use. Location, port, password, database id.
|
// Redis server to use. Location, port, password, database id.
|
||||||
// Note that vichan may clear the database at times, so you may want to pick a database id just for
|
// Note that vichan may clear the database at times, so you may want to pick a database id just for
|
||||||
// vichan to use.
|
// vichan to use.
|
||||||
$config['cache']['redis'] = array('localhost', 6379, '', 1);
|
$config['cache']['redis'] = [ 'localhost', 6379, null, 1 ];
|
||||||
|
|
||||||
// EXPERIMENTAL: Should we cache configs? Warning: this changes board behaviour, i'd say, a lot.
|
// EXPERIMENTAL: Should we cache configs? Warning: this changes board behaviour, i'd say, a lot.
|
||||||
// If you have any lambdas/includes present in your config, you should move them to instance-functions.php
|
// If you have any lambdas/includes present in your config, you should move them to instance-functions.php
|
||||||
|
Loading…
x
Reference in New Issue
Block a user