Ejabberd takes more than 30 minutes to terminate user session

I am using ejabberd-16.02 issue is if user come online and wifi turn off or no network (user not back again on server) then ejabberd server takes more than 30 minutes to terminate user session. Does i am missing any configuration or it is default behaviour of ejabberd server. Please help me

I think u missed

I think u missed resume_timeout settings in 5222 listening section
set it as follows
resume_timeout: 60

Syndicate content