Skip to content

Commit 41b20bf

Browse files
committed
docs: enhance watcher module docstring
1 parent ab18f3d commit 41b20bf

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

openedx_authz/engine/watcher.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
"""
2-
Watcher for the enforcer with enhanced policy reload capabilities.
2+
Redis-based policy change watcher for the authorization enforcer.
3+
4+
This module provides functionality to monitor policy changes in real-time using Redis
5+
as a message broker. It enables automatic policy reloading across multiple instances
6+
of the authorization system to maintain consistency and synchronization.
7+
8+
The watcher connects to Redis on the configured host and port, listens for policy
9+
change events, and automatically triggers policy reloads when changes are detected.
10+
This ensures that all running instances of the authorization system stay synchronized
11+
with the latest policy configurations.
312
"""
413

514
import logging

0 commit comments

Comments
 (0)