mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-02 21:17:12 +02:00
Don't force persistence if cache enabled (fix previous commit)
This commit is contained in:
parent
e5a98b100d
commit
d528457ba5
|
@ -3646,8 +3646,8 @@ max_items(Host, Options) ->
|
||||||
0;
|
0;
|
||||||
_ ->
|
_ ->
|
||||||
case is_last_item_cache_enabled(Host) of
|
case is_last_item_cache_enabled(Host) of
|
||||||
true -> 1;
|
true -> 0;
|
||||||
false -> 0
|
false -> 1
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end.
|
end.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user