|
|
@@ -1146,11 +1146,11 @@ receive_maximum(ConnInfo) ->
|
|
|
expiry_interval(ConnInfo) ->
|
|
|
maps:get(expiry_interval, ConnInfo, 0).
|
|
|
|
|
|
-%% Note: we don't allow overriding `last_alive_update_interval' per
|
|
|
+%% Note: we don't allow overriding `heartbeat_interval' per
|
|
|
%% zone, since the GC process is responsible for all sessions
|
|
|
%% regardless of the zone.
|
|
|
bump_interval() ->
|
|
|
- emqx_config:get([durable_sessions, last_alive_update_interval]).
|
|
|
+ emqx_config:get([durable_sessions, heartbeat_interval]).
|
|
|
|
|
|
get_config(#{zone := Zone}, Key) ->
|
|
|
emqx_config:get_zone_conf(Zone, [durable_sessions | Key]).
|