diff options
author | antirez <antirez@gmail.com> | 2012-07-22 17:13:49 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2012-07-22 17:18:16 +0200 |
commit | 5d73073f6eaa391fe01ce202d1de95c27da5ec0b (patch) | |
tree | 0dbfe43234414b006e803a753de642ba4bc2a22b /sentinel.conf | |
parent | b62bdf1c643ee8ace697621464ee201300ee2f0e (diff) | |
download | redis-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