diff options
| author | Max Nanis | 2026-09-10 16:59:43 -0700 |
|---|---|---|
| committer | Max Nanis | 2026-09-10 16:59:43 -0700 |
| commit | 0ac38066402762dc5fa24f2ffa2170681a6eddb1 (patch) | |
| tree | 923ea3f9ccd7adaaac89d20074d7ed6af532260e /jb/decorators.py | |
| parent | cb098c80351727055ce982b9c2631aab7277b772 (diff) | |
| download | amt-jb-0ac38066402762dc5fa24f2ffa2170681a6eddb1.tar.gz amt-jb-0ac38066402762dc5fa24f2ffa2170681a6eddb1.zip | |
http/managers/models green.
Diffstat (limited to 'jb/decorators.py')
| -rw-r--r-- | jb/decorators.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/jb/decorators.py b/jb/decorators.py index 6e1336d..9c7a31c 100644 --- a/jb/decorators.py +++ b/jb/decorators.py @@ -22,7 +22,15 @@ redis_config = RedisConfig( socket_timeout=settings.redis_timeout, socket_connect_timeout=settings.redis_timeout, ) -REDIS = redis_config.create_redis_client() + + +def get_redis_config(): + return redis_config + + +def get_redis(): + return redis_config.create_redis_client() + # --- Logging --- |
