This commit is contained in:
2025-08-15 14:43:50 +09:30
parent 3aedc95f5a
commit 0952bc9a23
18 changed files with 436 additions and 363 deletions
+1 -1
View File
@@ -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}")