@@ -43,30 +43,16 @@ options in config.php
43
43
44
44
'store.type' => 'redis:Redis'
45
45
46
- Rollover to new server
47
- ----------------------
48
- The module has build in support for doing rolling update to a new Redis host.
49
- All writes are only done to the new host, but all reads will fall back to the old host if
50
- the value is not found on new host.
51
-
52
- ### How-to
53
- * Start new Redis host
54
- * Add new host to config file (` parameters ` and ` options ` ) and add the old host to ` oldHost ` option
55
- * Wait until max session lifetime have expired
56
- * Remove ` oldHost ` config
57
- * Shut down old Redis host
58
-
59
46
Configuration options
60
47
---------------------
61
- * ` parameters ` Connection parameters for the underlying predis client. See
62
- https://github.com/nrk/predis/wiki/Connection-Parameters for details
63
- * ` options ` Client options for the underlying predis client. See
64
- https://github.com/nrk/predis/wiki/Client-Options for details. // Key prefix
48
+ * ` parameters ` Connection parameters for the underlying predis client. See
49
+ [ connection parameters] ( https://github.com/nrk/predis/wiki/Connection-Parameters ) for details
50
+ * ` options ` Client options for the underlying predis client. See [ options] ( https://github.com/nrk/predis/wiki/Client-Options ) for details
65
51
* ` prefix ` Key prefix for all keys stored in Redis
66
52
* ` lifetime ` Default lifetime for non-expiring keys in Redis
67
53
* ` oldHost ` configuration for old Redis host when doing rollover
68
- * ` parameters ` Connection parameters for the underlying predis client.
69
- * ` options ` Client options for the underlying predis client.
54
+ * ` parameters ` Connection parameters for the underlying predis client
55
+ * ` options ` Client options for the underlying predis client
70
56
71
57
### Example
72
58
```
@@ -84,3 +70,15 @@ $config = [
84
70
'lifetime' => 288000
85
71
];
86
72
```
73
+ Rollover to new server
74
+ ----------------------
75
+ The module has build in support for doing rolling update to a new Redis host.
76
+ All writes are only done to the new host, but all reads will fall back to the old host if
77
+ the value is not found on new host.
78
+
79
+ ### How-to
80
+ * Start new Redis host
81
+ * Add new host to config file (` parameters ` and ` options ` ) and add the old host to ` oldHost ` option
82
+ * Wait until max session lifetime have expired
83
+ * Remove ` oldHost ` config
84
+ * Shut down old Redis host
0 commit comments