From 70977cbb130e532d1c00cbf435ac02ca250a9288 Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 19 May 2020 13:11:18 +0200 Subject: [PATCH] Sort databases alphabetically in options doc (thanks to Neustradamus)(#3246) --- src/ejabberd_options_doc.erl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ejabberd_options_doc.erl b/src/ejabberd_options_doc.erl index 66d00f790..9c4d121bb 100644 --- a/src/ejabberd_options_doc.erl +++ b/src/ejabberd_options_doc.erl @@ -110,7 +110,7 @@ doc() -> "Modules and other components (e.g. authentication) " "may have its own value. The default value is 'mnesia'.")}}, {default_ram_db, - #{value => "mnesia | sql | redis", + #{value => "mnesia | redis | sql", desc => ?T("Default volatile (in-memory) storage for ejabberd. " "Modules and other components (e.g. session management) " @@ -1022,7 +1022,7 @@ doc() -> ?T("Same as 'cache_size', but applied to routing table cache " "only. If not set, the value from 'cache_size' will be used.")}}, {router_db_type, - #{value => "mnesia | sql | redis", + #{value => "mnesia | redis | sql", desc => ?T("Database backend to use for routing information. " "The default value is picked from 'default_ram_db' option, or " @@ -1182,7 +1182,7 @@ doc() -> ?T("Same as 'cache_size', but applied to client sessions table cache " "only. If not set, the value from 'cache_size' will be used.")}}, {sm_db_type, - #{value => "mnesia | sql | redis", + #{value => "mnesia | redis | sql", desc => ?T("Database backend to use for client sessions information. " "The default value is picked from 'default_ram_db' option, or " @@ -1193,7 +1193,7 @@ doc() -> ?T("Same as 'use_cache', but applied to client sessions table cache " "only. If not set, the value from 'use_cache' will be used.")}}, {sql_type, - #{value => "mysql | pgsql | sqlite | mssql | odbc", + #{value => "mssql | mysql | odbc | pgsql | sqlite", desc => ?T("The type of an SQL connection. The default is 'odbc'.")}}, {sql_connect_timeout,