c'est ce que hje cherchais nan ?

This commit is contained in:
piair 2023-10-03 12:24:39 +02:00
parent ab74f5b642
commit 99ccdbef46
2 changed files with 5 additions and 3 deletions

View File

@ -15,8 +15,10 @@ import redis
# redis part for live update # redis part for live update
redis_client = redis.StrictRedis(host='127.0.0.1', port=6379, db=0) pool = redis.ConnectionPool(host='localhost', port=6379, db=0)
pubsub = redis_client.pubsub() r = redis.Redis(connection_pool=pool)
pubsub = r.pubsub()
pubsub.subscribe('console') pubsub.subscribe('console')
def generate_output(): def generate_output():

View File

@ -1 +1 @@
v6.6.46 v6.6.47