diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2015-06-18 12:54:46 +0200 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2015-06-18 12:54:46 +0200 |
commit | d528457ba51a656798cdacec7827f9912db6a753 (patch) | |
tree | ba3600d0c1769c9a5eea50ecb33b8f13a981f156 | |
parent | Fix max_items and don't let PEP depends on item cache (diff) |
Don't force persistence if cache enabled (fix previous commit)
-rw-r--r-- | src/mod_pubsub.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_pubsub.erl b/src/mod_pubsub.erl index f127ca12b..4969ac187 100644 --- a/src/mod_pubsub.erl +++ b/src/mod_pubsub.erl @@ -3646,8 +3646,8 @@ max_items(Host, Options) -> 0; _ -> case is_last_item_cache_enabled(Host) of - true -> 1; - false -> 0 + true -> 0; + false -> 1 end end end. |