simple.py 105 B

1234
  1. import redis
  2. r = redis.StrictRedis(host='localhost', port=6379, db=0)
  3. print(r.config_get("maxclients"))