Merge pull request #12581 from smatvienko-tb/hotfix/device_subscriptions_remove_on_session_limit
core device actor: device subscriptions remove on session limit
This commit is contained in:
commit
ba840c6543
@ -865,6 +865,8 @@ public class DeviceActorMessageProcessor extends AbstractContextAwareMsgProcesso
|
||||
}
|
||||
|
||||
private void notifyTransportAboutClosedSessionMaxSessionsLimit(UUID sessionId, SessionInfoMetaData sessionMd) {
|
||||
attributeSubscriptions.remove(sessionId);
|
||||
rpcSubscriptions.remove(sessionId);
|
||||
notifyTransportAboutClosedSession(sessionId, sessionMd, TransportSessionCloseReason.MAX_CONCURRENT_SESSIONS_LIMIT_REACHED);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user