----- Original Message -----
> From: "Itamar Heim" <ih...@redhat.com>
> To: "Vojtech Szocs" <vsz...@redhat.com>
> Cc: "engine-devel" <engine-devel@ovirt.org>
> Sent: Tuesday, October 22, 2013 12:22:14 PM
> Subject: Re: [Engine-devel] Question about Engine user session timeout
> 
> On 10/22/2013 10:12 AM, Vojtech Szocs wrote:
> > However, as we have two distinct values for Engine session timeout, I guess
> > my best shot is to do
> > "min(UserSessionTimeOutInterval,UserSessionTimeOutInvalidationInterval)"
> > and expose both via admin-only GetConfigurationValue query, but I'm not
> > sure this is the best approach..
> 
> shouldn't that be sum() rather than min?

IIUC, the first config value (UserSessionTimeOutInterval) represents the delay 
between Engine startup and first "cleanExpiredUsersSessions" job execution. The 
second config value (UserSessionTimeOutInvalidationInterval) is the delay 
between subsequent executions of this job. This is why I thought it should be 
min() out of these two; user could open WebAdmin right after Engine startup or 
anytime after that.

Both config values have validValues=-1,1..100000 so -1 could disable first 
(UserSessionTimeOutInterval) or subsequent 
(UserSessionTimeOutInvalidationInterval) job execution. I'm still confused why 
we have two values, though..

> 
_______________________________________________
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel

Reply via email to