Add SessionDisconnectJob to publish DisconnectEvent when Session timeouts #207
Reference in New Issue
Block a user
Delete Branch "feat/15-session-disconnect-job"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Modified
Sessionby a field to track last activity and made it accessible and modifyable via setters and getters.Modified
SessionManagerto return all active sessions forSessionDisconnectJobto iterate over.Added
SessionDisconnectJobto iterate over all active sessions and publishDisconnectEventfor those that reached the specified timeout (default 5 seconds)Closes #15
mentioned in commit
8d571172d5