1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-03 01:39:35 +02:00

Add SQL as mod_carboncopy RAM backend

This commit is contained in:
Evgeniy Khramtsov 2017-03-30 10:31:51 +03:00
parent 4b4c039fde
commit 31fd83b2ae
8 changed files with 157 additions and 13 deletions

View file

@ -443,7 +443,6 @@ db_tests(DB) when DB == mnesia; DB == redis ->
carbons_tests:master_slave_cases(),
csi_tests:master_slave_cases()];
db_tests(_) ->
%% No support for carboncopy
[{single_user, [sequence],
[test_register,
legacy_auth_tests(),
@ -469,7 +468,8 @@ db_tests(_) ->
mam_tests:master_slave_cases(),
mix_tests:master_slave_cases(),
vcard_tests:master_slave_cases(),
announce_tests:master_slave_cases()].
announce_tests:master_slave_cases(),
carbons_tests:master_slave_cases()].
ldap_tests() ->
[{ldap_tests, [sequence],

View file

@ -47,6 +47,8 @@ host_config:
db_type: sql
mod_vcard_xupdate:
db_type: sql
mod_carboncopy:
ram_db_type: sql
mod_adhoc: []
mod_configure: []
mod_disco: []
@ -105,6 +107,8 @@ Welcome to this XMPP server."
db_type: sql
mod_vcard_xupdate:
db_type: sql
mod_carboncopy:
ram_db_type: sql
mod_adhoc: []
mod_configure: []
mod_disco: []
@ -168,6 +172,8 @@ Welcome to this XMPP server."
db_type: sql
mod_vcard_xupdate:
db_type: sql
mod_carboncopy:
ram_db_type: sql
mod_adhoc: []
mod_configure: []
mod_disco: []
@ -222,7 +228,8 @@ Welcome to this XMPP server."
db_type: internal
mod_vcard_xupdate:
db_type: internal
mod_carboncopy: []
mod_carboncopy:
ram_db_type: internal
mod_client_state:
queue_presence: true
queue_chat_states: true
@ -282,7 +289,8 @@ Welcome to this XMPP server."
db_type: internal
mod_vcard_xupdate:
db_type: internal
mod_carboncopy: []
mod_carboncopy:
ram_db_type: internal
mod_client_state:
queue_presence: true
queue_chat_states: true