summaryrefslogtreecommitdiff
path: root/redis/client.py
diff options
context:
space:
mode:
authorandy <andy@whiskeymedia.com>2013-06-04 15:31:04 -0400
committerandy <andy@whiskeymedia.com>2013-06-04 15:31:04 -0400
commitbb712f452276fdafc8ffac74d2842e7c656f431a (patch)
treeed83e2161663e27a57141ca2cbbce9d9ad048e15 /redis/client.py
parentda5be05b56fbbcd5045a5de5cb1c7f62f214f1d4 (diff)
parent5f10d8dde27cd3eaa0c99299afdfb61d5cd6a9e9 (diff)
downloadredis-py-bb712f452276fdafc8ffac74d2842e7c656f431a.tar.gz
Merge branch 'master' into pytest
Conflicts: tests/server_commands.py
Diffstat (limited to 'redis/client.py')
-rw-r--r--redis/client.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/redis/client.py b/redis/client.py
index d6c7917..f98dc2b 100644
--- a/redis/client.py
+++ b/redis/client.py
@@ -426,6 +426,10 @@ class StrictRedis(object):
"Set config item ``name`` with ``value``"
return self.execute_command('CONFIG', 'SET', name, value, parse='SET')
+ def config_resetstat(self):
+ "Reset runtime statistics"
+ return self.execute_command('CONFIG', 'RESETSTAT', parse='RESETSTAT')
+
def dbsize(self):
"Returns the number of keys in the current database"
return self.execute_command('DBSIZE')