You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #4855 in DEV/moodle from feature/INT-16334_excitable-donkey to master
* commit '5239ce6517b10492bb4a1bf9f2ed1ac2e32da423':
INT-16334: Make methods signature compatible with PHPUnit 8.5 in Moodle 3.10
INT-16334: feat: add port & auth to redis connection
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,13 @@ Provides a Moodle lock factory class for locking with Redis. This plugin was con
9
9
* PHP Redis extension
10
10
11
11
## Installation
12
-
Clone the repository or download and extract the code into the local directory of your Moodle install (e.g. $CFG->wwwroot/local/redislock) and run the site's upgrade script. Set $CFG->local_redislock_redis_server with your Redis server's connection string. Set $CFG->lock_factory to '\\\\local_redislock\\\\lock\\\\redis_lock_factory' in your config file.
12
+
Clone the repository or download and extract the code into the local directory of your Moodle install (e.g. $CFG->wwwroot/local/redislock) and run the site's upgrade script.
13
+
Set:
14
+
*`$CFG->local_redislock_redis_server` with your Redis server's connection string.
15
+
- It can be the `hostname` or IP address of the Redis server.
16
+
- It can also be `hostname:port` if you want to use other port different than `6379` (Default)
17
+
*`$CFG->lock_factory` to `'\\local_redislock\\lock\\redis_lock_factory'` in your config file.
18
+
*`$CFG->local_redislock_auth` with your Redis server's password string.
0 commit comments