snap
This commit is contained in:
@@ -29,7 +29,7 @@ def redis_subscribe(worker_id):
|
||||
f"__keyspace@2__:worker_status_{worker_id}", #TODO - The number 2 here is important, it's the Redis DB number which must align with the resid URL in config.py!
|
||||
f"__keyspace@2__:worker_queue_{worker_id}"
|
||||
]
|
||||
logger.error(f"Subscribed to {channels}")
|
||||
|
||||
try:
|
||||
pubsub.psubscribe(channels)
|
||||
logger.info(f"Subscribed to Redis keyspace events: {channels}")
|
||||
|
||||
Reference in New Issue
Block a user