retry_interval
This commit is contained in:
parent
f15e8bc630
commit
b501ddf43c
|
@ -81,6 +81,8 @@
|
||||||
]},
|
]},
|
||||||
%% Client
|
%% Client
|
||||||
{client, [
|
{client, [
|
||||||
|
%% Socket is connected, but no 'CONNECT' packet received
|
||||||
|
{idle_timeout, 10} %% seconds
|
||||||
%TODO: Network ingoing limit
|
%TODO: Network ingoing limit
|
||||||
%{ingoing_rate_limit, '64KB/s'}
|
%{ingoing_rate_limit, '64KB/s'}
|
||||||
%TODO: Reconnet control
|
%TODO: Reconnet control
|
||||||
|
@ -91,20 +93,17 @@
|
||||||
%% 0 means no limit
|
%% 0 means no limit
|
||||||
{max_inflight, 100},
|
{max_inflight, 100},
|
||||||
|
|
||||||
%% Max retries for unack Qos1/2 messages
|
%% Retry interval for redelivering QoS1/2 messages.
|
||||||
{unack_retries, 3},
|
{unack_retry_interval, 20},
|
||||||
|
|
||||||
%% Retry after 4, 8, 16 seconds
|
|
||||||
{unack_timeout, 4},
|
|
||||||
|
|
||||||
%% Awaiting PUBREL Timeout
|
%% Awaiting PUBREL Timeout
|
||||||
{await_rel_timeout, 8},
|
{await_rel_timeout, 20},
|
||||||
|
|
||||||
%% Max Packets that Awaiting PUBREL, 0 means no limit
|
%% Max Packets that Awaiting PUBREL, 0 means no limit
|
||||||
{max_awaiting_rel, 0},
|
{max_awaiting_rel, 0},
|
||||||
|
|
||||||
%% Statistics Collection Interval(seconds)
|
%% Statistics Collection Interval(seconds)
|
||||||
{collect_interval, 10},
|
{collect_interval, 20},
|
||||||
|
|
||||||
%% Expired after 2 days
|
%% Expired after 2 days
|
||||||
{expired_after, 48}
|
{expired_after, 48}
|
||||||
|
|
|
@ -73,6 +73,8 @@
|
||||||
]},
|
]},
|
||||||
%% Client
|
%% Client
|
||||||
{client, [
|
{client, [
|
||||||
|
%% Socket is connected, but no 'CONNECT' packet received
|
||||||
|
{idle_timeout, 10} %% seconds
|
||||||
%TODO: Network ingoing limit
|
%TODO: Network ingoing limit
|
||||||
%{ingoing_rate_limit, '64KB/s'}
|
%{ingoing_rate_limit, '64KB/s'}
|
||||||
%TODO: Reconnet control
|
%TODO: Reconnet control
|
||||||
|
@ -83,14 +85,11 @@
|
||||||
%% 0 means no limit
|
%% 0 means no limit
|
||||||
{max_inflight, 100},
|
{max_inflight, 100},
|
||||||
|
|
||||||
%% Max retries for unack Qos1/2 messages
|
%% Retry interval for redelivering QoS1/2 messages.
|
||||||
{unack_retries, 3},
|
{unack_retry_interval, 30},
|
||||||
|
|
||||||
%% Retry after 8, 16, 32 seconds
|
|
||||||
{unack_timeout, 8},
|
|
||||||
|
|
||||||
%% Awaiting PUBREL Timeout
|
%% Awaiting PUBREL Timeout
|
||||||
{await_rel_timeout, 8},
|
{await_rel_timeout, 20},
|
||||||
|
|
||||||
%% Max Packets that Awaiting PUBREL, 0 means no limit
|
%% Max Packets that Awaiting PUBREL, 0 means no limit
|
||||||
{max_awaiting_rel, 0},
|
{max_awaiting_rel, 0},
|
||||||
|
@ -133,7 +132,7 @@
|
||||||
%% PubSub
|
%% PubSub
|
||||||
{pubsub, [
|
{pubsub, [
|
||||||
%% default should be scheduler numbers
|
%% default should be scheduler numbers
|
||||||
{pool_size, 8}
|
%% {pool_size, 8}
|
||||||
]},
|
]},
|
||||||
%% Bridge
|
%% Bridge
|
||||||
{bridge, [
|
{bridge, [
|
||||||
|
|
Loading…
Reference in New Issue