Session timeout

Hi guys,
Does anyone know how to reduce the session timeout or session expiry?

Note: I edited the MoquiDefaultConf.xml file .

<session-config timeout="60"/>

but it doesn’t work.

1 Like

Hi @Nepolean
You can put the below line in this file conf/MoquiProductionConf.xml inside runtime/conf.

Load Data $ java -jar moqui.war load conf=conf/MoquiProductionConf.xml
Run Server $ java -jar moqui.war conf=conf/MoquiProductionConf.xml

Note: time in seconds

2 Likes

I would put it in your MoquiConf.xml file if it’s based on your application, and not add the h2 stuff like this:

1 Like

Why Timeout in WebSocket Session is not happning?