Created
October 22, 2015 16:45
-
-
Save 72squared/fe61c20625dd563f64a3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/rediscluster/pipeline.py b/rediscluster/pipeline.py | |
index 2106e70..a13e867 100644 | |
--- a/rediscluster/pipeline.py | |
+++ b/rediscluster/pipeline.py | |
@@ -175,6 +175,8 @@ class StrictClusterPipeline(StrictRedisCluster): | |
if i in ask_retry: | |
track_cmds[node_name].append(None) | |
cmds.append((['ASKING'], {})) | |
+ print "ASKING ... threaded" | |
+ | |
track_cmds[node_name].append(i) | |
cmds.append(node_commands[node_name][i]) | |
workers[node_name] = ThreadedPipelineExecute( | |
@@ -205,6 +207,7 @@ class StrictClusterPipeline(StrictRedisCluster): | |
if i in ask_retry: | |
track_cmds[node_name].append(None) | |
cmds.append((['ASKING'], {})) | |
+ print "ASKING ... non-threaded" | |
track_cmds[node_name].append(i) | |
cmds.append(node_commands[node_name][i]) | |
with by_node_context(self.connection_pool, node) as connection: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment