mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Merge pull request #2028 from weiss/increase-queue-sizes
Increase max_fsm_queue and max_ack_queue sizes
This commit is contained in:
commit
2aeee9eab4
@ -444,7 +444,7 @@ shaper:
|
|||||||
## This option specifies the maximum number of elements in the queue
|
## This option specifies the maximum number of elements in the queue
|
||||||
## of the FSM. Refer to the documentation for details.
|
## of the FSM. Refer to the documentation for details.
|
||||||
##
|
##
|
||||||
max_fsm_queue: 1000
|
max_fsm_queue: 10000
|
||||||
|
|
||||||
###. ====================
|
###. ====================
|
||||||
###' ACCESS CONTROL LISTS
|
###' ACCESS CONTROL LISTS
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
-define(SERVER, ?MODULE).
|
-define(SERVER, ?MODULE).
|
||||||
-define(PROCNAME, 'ejabberd_redis_client').
|
-define(PROCNAME, 'ejabberd_redis_client').
|
||||||
-define(TR_STACK, redis_transaction_stack).
|
-define(TR_STACK, redis_transaction_stack).
|
||||||
-define(DEFAULT_MAX_QUEUE, 5000).
|
-define(DEFAULT_MAX_QUEUE, 10000).
|
||||||
-define(MAX_RETRIES, 1).
|
-define(MAX_RETRIES, 1).
|
||||||
-define(CALL_TIMEOUT, 60*1000). %% 60 seconds
|
-define(CALL_TIMEOUT, 60*1000). %% 60 seconds
|
||||||
|
|
||||||
|
@ -709,7 +709,7 @@ bounce_message_queue() ->
|
|||||||
%%%===================================================================
|
%%%===================================================================
|
||||||
get_max_ack_queue(Host, Opts) ->
|
get_max_ack_queue(Host, Opts) ->
|
||||||
gen_mod:get_module_opt(Host, ?MODULE, max_ack_queue,
|
gen_mod:get_module_opt(Host, ?MODULE, max_ack_queue,
|
||||||
gen_mod:get_opt(max_ack_queue, Opts, 1000)).
|
gen_mod:get_opt(max_ack_queue, Opts, 5000)).
|
||||||
|
|
||||||
get_resume_timeout(Host, Opts) ->
|
get_resume_timeout(Host, Opts) ->
|
||||||
gen_mod:get_module_opt(Host, ?MODULE, resume_timeout,
|
gen_mod:get_module_opt(Host, ?MODULE, resume_timeout,
|
||||||
|
Loading…
Reference in New Issue
Block a user