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

vszocs at redhat.com vszocs at redhat.com
Mon Jan 12 19:19:55 UTC 2015


Vojtech Szocs 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, 18 insertions(+), 5 deletions(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ifa95dba9b1f9647369bd817995c1cbd86f1e528f
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
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: 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