tianyun 3 years ago
parent
commit
bc7ef7e8e0
1 changed files with 4 additions and 0 deletions
  1. 4 0
      tmp/redis/simple.py

+ 4 - 0
tmp/redis/simple.py

@@ -0,0 +1,4 @@
+import redis
+
+r = redis.StrictRedis(host='localhost', port=6379, db=0)
+print(r.config_get("maxclients"))