Change in ovirt-engine[ovirt-engine-3.5]: webadmin: Adapt UI plugin infra REST session timeout

tnisan at redhat.com tnisan at redhat.com
Mon Jan 12 20:13:54 UTC 2015


Tal Nisan has submitted this change and it was merged.

Change subject: webadmin: Adapt UI plugin infra REST session timeout
......................................................................


webadmin: Adapt UI plugin infra REST session timeout

Engine session expiration happens through periodic job
(SessionDataContainer#cleanExpiredUsersSessions) whose
periodicity is the same as Engine session timeout value
(UserSessionTimeOutInterval).

Because of that, Engine sessions can stay active up to
2 * UserSessionTimeOutInterval. Refer to Einav's comment
at http://gerrit.ovirt.org/#/c/36622/ for details.

In this patch, we adapt REST session timeout to be
2 * UserSessionTimeOutInterval.

Change-Id: Ifa95dba9b1f9647369bd817995c1cbd86f1e528f
Bug-Url: https://bugzilla.redhat.com/1172726
Bug-Url: https://bugzilla.redhat.com/1168842
Signed-off-by: Vojtech Szocs <vszocs at redhat.com>
---
M frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/plugin/restapi/RestApiSessionManager.java
1 file changed, 19 insertions(+), 5 deletions(-)

Approvals:
  Alexander Wels: Looks good to me, approved
  Vojtech Szocs: Verified



-- 
To view, visit http://gerrit.ovirt.org/36738
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ifa95dba9b1f9647369bd817995c1cbd86f1e528f
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Vojtech Szocs <vszocs at redhat.com>
Gerrit-Reviewer: Alexander Wels <awels at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Einav Cohen <ecohen at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vszocs at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list