Commit 7ce1fc77c92bb405866c34c6481d4f23ad3858c2
Committed by
Andrew Shvayka
1 parent
1d24a08c
Use session report timeout to remove staled sessions
Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -720,7 +720,7 @@ class DeviceActorMessageProcessor extends AbstractContextAwareMsgProcessor { |
720 | 720 | } |
721 | 721 | |
722 | 722 | void initSessionTimeout(TbActorCtx ctx) { |
723 | - schedulePeriodicMsgWithDelay(ctx, SessionTimeoutCheckMsg.instance(), systemContext.getSessionInactivityTimeout(), systemContext.getSessionInactivityTimeout()); | |
723 | + schedulePeriodicMsgWithDelay(ctx, SessionTimeoutCheckMsg.instance(), systemContext.getSessionReportTimeout(), systemContext.getSessionReportTimeout()); | |
724 | 724 | } |
725 | 725 | |
726 | 726 | void checkSessionsTimeout() { | ... | ... |