diff options
Diffstat (limited to 'src/ejabberd_options.erl')
-rw-r--r-- | src/ejabberd_options.erl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ejabberd_options.erl b/src/ejabberd_options.erl index 8837ef475..bbf218532 100644 --- a/src/ejabberd_options.erl +++ b/src/ejabberd_options.erl @@ -222,6 +222,10 @@ opt_type(log_rotate_count) -> econf:non_neg_int(); opt_type(log_rotate_size) -> econf:pos_int(infinity); +opt_type(log_burst_limit_window_time) -> + econf:timeout(second); +opt_type(log_burst_limit_count) -> + econf:pos_int(); opt_type(loglevel) -> fun(N) when is_integer(N) -> (econf:and_then( @@ -576,6 +580,8 @@ options() -> {listen, []}, {log_rotate_count, 1}, {log_rotate_size, 10*1024*1024}, + {log_burst_limit_window_time, timer:seconds(1)}, + {log_burst_limit_count, 500}, {max_fsm_queue, undefined}, {modules, []}, {negotiation_timeout, timer:seconds(30)}, @@ -722,6 +728,8 @@ globals() -> loglevel, log_rotate_count, log_rotate_size, + log_burst_limit_count, + log_burst_limit_window_time, negotiation_timeout, net_ticktime, new_sql_schema, |