Kibana + SearchGuard , session timeout

I can’t figure out what is the right combination for the kibana not to log out every hour and not to lose all the the infomation in the dev-tools.
Right now i have only :

searchguard.session.ttl: 604800000

searchguard.cookie.ttl: 604800000

which seems to have little affect on anything.

Thanks