summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy McCurdy <andy@andymccurdy.com>2011-06-21 13:44:39 -0700
committerAndy McCurdy <andy@andymccurdy.com>2011-06-21 13:44:39 -0700
commita8348698bfd3502f88a6c7614c30bfe831b9869c (patch)
tree2abc3642dbe053540c89f4cc2660869d3a30939d
parent5c3a5ebcb44b385246e3766bbdce710b6260e140 (diff)
downloadredis-py-a8348698bfd3502f88a6c7614c30bfe831b9869c.tar.gz
notes about LREM order of args and PubSub objects not being threadsafe.
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 2eb6127..4e0ded1 100644
--- a/README.md
+++ b/README.md
@@ -122,6 +122,8 @@ If you use multiple Redis databases within the same application, you should
create a separate client instance (and possibly a separate connection pool) for
each database.
+It is not save to pass PubSub objects between threads.
+
## API Reference
The official Redis documentation does a great job of explaining each command in
@@ -146,6 +148,8 @@ arguments as the official spec. There are a few exceptions noted here:
execute non-pubsub commands. Calling the pubsub method from the Redis client
will return a PubSub instance where you can subscribe to channels and listen
for messages. You can call PUBLISH from both classes.
+* LREM: Order of 'num' and 'value' arguments reversed such that 'num' can
+ provide a default value of zero.
## Versioning scheme