diff options
author | andy <andy@whiskeymedia.com> | 2013-06-04 15:31:04 -0400 |
---|---|---|
committer | andy <andy@whiskeymedia.com> | 2013-06-04 15:31:04 -0400 |
commit | bb712f452276fdafc8ffac74d2842e7c656f431a (patch) | |
tree | ed83e2161663e27a57141ca2cbbce9d9ad048e15 /redis/client.py | |
parent | da5be05b56fbbcd5045a5de5cb1c7f62f214f1d4 (diff) | |
parent | 5f10d8dde27cd3eaa0c99299afdfb61d5cd6a9e9 (diff) | |
download | redis-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.py | 4 |
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') |