pool = redis.ConnectionPool(host=REDIS_HOST, port=REDIS_PORT,max_connections=3,password=REDIS_PASSWORD)
redis = redis.StrictRedis(connection_pool=pool)
Powered by: 博客园 Copyright © 2024 网名还没想好 Powered by .NET 8.0 on Kubernetes