summaryrefslogtreecommitdiff
path: root/sentinel.conf
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2012-07-22 17:13:49 +0200
committerantirez <antirez@gmail.com>2012-07-22 17:18:16 +0200
commit5d73073f6eaa391fe01ce202d1de95c27da5ec0b (patch)
tree0dbfe43234414b006e803a753de642ba4bc2a22b /sentinel.conf
parentb62bdf1c643ee8ace697621464ee201300ee2f0e (diff)
downloadredis-5d73073f6eaa391fe01ce202d1de95c27da5ec0b.tar.gz
Allow Pub/Sub in contexts where other commands are blocked.
Redis loading data from disk, and a Redis slave disconnected from its master with serve-stale-data disabled, are two conditions where commands are normally refused by Redis, returning an error. However there is no reason to disable Pub/Sub commands as well, given that this layer does not interact with the dataset. To allow Pub/Sub in as many contexts as possible is especially interesting now that Redis Sentinel uses Pub/Sub of a Redis master as a communication channel between Sentinels. This commit allows Pub/Sub to be used in the above two contexts where it was previously denied.
Diffstat (limited to 'sentinel.conf')
0 files changed, 0 insertions, 0 deletions