Prevent automatic logout from Gerrit

970 views
Skip to first unread message

Remy Bohmer

unread,
Mar 1, 2012, 4:40:30 AM3/1/12
to Repo and Gerrit Discussion
Hi,

Is there a way to configure gerrit such that I do not need to login
every day again in Gerrit?
It seems to terminate the session every day.
I have not find anything inside the manuals about this.
We are using LDAP as authentication directly to gerrit. There are no
reverse proxies or apache webservers involved.

Kind regards,

Remy

Deniz Türkoglu

unread,
Mar 1, 2012, 6:18:06 AM3/1/12
to Remy Bohmer, Repo and Gerrit Discussion
Configure web_sessions.max_age in gerrit.config;

[cache "web_sessions"]
    maxAge = 1 y

will keep you logged in for a year.

-deniz

Kind regards,

Remy

--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

Remy Bohmer

unread,
Mar 2, 2012, 5:11:55 AM3/2/12
to Deniz Türkoglu, Repo and Gerrit Discussion
Hi,

2012/3/1 Deniz Türkoglu <de...@spotify.com>:


>> Is there a way to configure gerrit such that I do not need to login
>> every day again in Gerrit?
>> It seems to terminate the session every day.
>> I have not find anything inside the manuals about this.
>> We are using LDAP as authentication directly to gerrit. There are no
>> reverse proxies or apache webservers involved.
>
>
> Configure web_sessions.max_age in gerrit.config;
>
> [cache "web_sessions"]
>     maxAge = 1 y
>
> will keep you logged in for a year.

Thanks, this is exactly I was looking for.

Kind regards,

Remy

Reply all
Reply to author
Forward
0 new messages