diff options
author | Andy McCurdy <andy@andymccurdy.com> | 2011-06-21 13:44:39 -0700 |
---|---|---|
committer | Andy McCurdy <andy@andymccurdy.com> | 2011-06-21 13:44:39 -0700 |
commit | a8348698bfd3502f88a6c7614c30bfe831b9869c (patch) | |
tree | 2abc3642dbe053540c89f4cc2660869d3a30939d | |
parent | 5c3a5ebcb44b385246e3766bbdce710b6260e140 (diff) | |
download | redis-py-a8348698bfd3502f88a6c7614c30bfe831b9869c.tar.gz |
notes about LREM order of args and PubSub objects not being threadsafe.
-rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |