update
This commit is contained in:
@ -22,7 +22,7 @@ async def read_event():
|
||||
print(config)
|
||||
user_map = config['user_ids']
|
||||
device_map = config['devices']
|
||||
redis_client = await aioredis.Redis(host="127.0.0.1", port=6379)
|
||||
redis_client = await aioredis.Redis(host="127.0.0.1", port=7019, password="SMHdFrlK")
|
||||
while True:
|
||||
data = await redis_client.brpop("hik-sub-event")
|
||||
sub_json = json.loads(data[1].decode('utf-8'))
|
||||
|
Reference in New Issue
Block a user