diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | redis/client.py | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -171,7 +171,7 @@ Pipelines are quite simple to use: >>> r = redis.Redis(...) >>> r.set('bing', 'baz') >>> # Use the pipeline() method to create a pipeline instance - >>> pipe = redis.pipeline() + >>> pipe = r.pipeline() >>> # The following SET commands are buffered >>> pipe.set('foo', 'bar') >>> pipe.get('bing') diff --git a/redis/client.py b/redis/client.py index 1aac82b..1c1301f 100644 --- a/redis/client.py +++ b/redis/client.py @@ -1510,8 +1510,8 @@ class Lock(object): holding the lock. Note: If using ``timeout``, you should make sure all the hosts - that are running clients are within the same timezone and are using - a network time service like ntp. + that are running clients have their time synchronized with a network time + service like ntp. """ self.redis = redis self.name = name |