summaryrefslogtreecommitdiff
path: root/redis/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'redis/client.py')
-rwxr-xr-xredis/client.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/redis/client.py b/redis/client.py
index f822926..db4778c 100755
--- a/redis/client.py
+++ b/redis/client.py
@@ -1300,6 +1300,12 @@ class Redis:
raise DataError("CLIENT PAUSE timeout must be an integer")
return self.execute_command('CLIENT PAUSE', str(timeout))
+ def client_unpause(self):
+ """
+ Unpause all redis clients
+ """
+ return self.execute_command('CLIENT UNPAUSE')
+
def readwrite(self):
"Disables read queries for a connection to a Redis Cluster slave node"
return self.execute_command('READWRITE')