README.md in redis-3.0.7 vs README.md in redis-3.1.0
- old
+ new
@@ -1,10 +1,12 @@
-# redis-rb [![Build Status][travis-image]][travis-link]
+# redis-rb [![Build Status][travis-image]][travis-link] [![Inline docs][inchpages-image]][inchpages-link]
[travis-image]: https://secure.travis-ci.org/redis/redis-rb.png?branch=master
[travis-link]: http://travis-ci.org/redis/redis-rb
[travis-home]: http://travis-ci.org/
+[inchpages-image]: http://inch-pages.github.io/github/redis/redis-rb.png
+[inchpages-link]: http://inch-pages.github.io/github/redis/redis-rb
A Ruby client library for [Redis][redis-home].
[redis-home]: http://redis.io
@@ -153,9 +155,21 @@
# => "OK"
@incr.value
# => 1
```
+
+## Expert-Mode Options
+
+ - `inherit_socket: true`: disable safety check that prevents a forked child
+ from sharing a socket with its parent; this is potentially useful in order to mitigate connection churn when:
+ - many short-lived forked children of one process need to talk
+ to redis, AND
+ - your own code prevents the parent process from using the redis
+ connection while a child is alive
+
+ Improper use of `inherit_socket` will result in corrupted and/or incorrect
+ responses.
## Alternate drivers
By default, redis-rb uses Ruby's socket library to talk with Redis.
To use an alternative connection driver it should be specified as option