|
@@ -286,8 +286,8 @@ init([CleanSess, {ClientId, Username}, ClientPid]) ->
|
|
|
{ok, QEnv} = emqttd:env(mqueue),
|
|
{ok, QEnv} = emqttd:env(mqueue),
|
|
|
MaxInflight = get_value(max_inflight, Env, 0),
|
|
MaxInflight = get_value(max_inflight, Env, 0),
|
|
|
EnableStats = get_value(enable_stats, Env, false),
|
|
EnableStats = get_value(enable_stats, Env, false),
|
|
|
- IgnoreLoopDeliver = get_value(ignore_loop_deliver, Env, false),
|
|
|
|
|
ForceGcCount = emqttd_gc:conn_max_gc_count(),
|
|
ForceGcCount = emqttd_gc:conn_max_gc_count(),
|
|
|
|
|
+ IgnoreLoopDeliver = get_value(ignore_loop_deliver, Env, false),
|
|
|
MQueue = ?MQueue:new(ClientId, QEnv, emqttd_alarm:alarm_fun()),
|
|
MQueue = ?MQueue:new(ClientId, QEnv, emqttd_alarm:alarm_fun()),
|
|
|
State = #state{clean_sess = CleanSess,
|
|
State = #state{clean_sess = CleanSess,
|
|
|
binding = binding(ClientPid),
|
|
binding = binding(ClientPid),
|