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
Provides a Moodle lock factory class for locking with Redis. This plugin was contributed by the Blackboard Open LMS Product Development team. Blackboard is an education technology company dedicated to bringing excellent online teaching to institutions across the globe. We serve colleges and universities, schools and organizations by supporting the software that educators use to manage and deliver instructional content to learners in virtual classrooms.
3
5
4
-
#Requirements
6
+
## Requirements
5
7
* Moodle 2.9 or greater
6
8
* Redis
7
9
* PHP Redis extension
8
10
9
-
#Installation
11
+
## Installation
10
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.
11
13
12
-
Use the boolean flag `$CFG->local_redislock_logging` to control whether verbose
14
+
## Flags
15
+
16
+
* Use the boolean flag `$CFG->local_redislock_logging` to control whether verbose
13
17
logging should be emitted. If not set, logging is automatically-enabled when running
14
18
in the CLI environment with debugging enabled on `DEBUG_NORMAL` level at least.
19
+
* Use the boolean flag `$CFG->local_redislock_disable_shared_connection` to force creation
20
+
of the redis connection for each factory instance.
0 commit comments