Oved Ourfali has posted comments on this change.

Change subject: core: VdsManager - no need to cache config values
......................................................................


Patch Set 9:

(1 comment)

http://gerrit.ovirt.org/#/c/27375/9/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VdsManager.java
File 
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VdsManager.java:

Line 496:                     this,
Line 497:                     "recoverFromError",
Line 498:                     new Class[0],
Line 499:                     new Object[0],
Line 500:                     
Config.<Integer>getValue(ConfigValues.TimeToReduceFailedRunOnVdsInMinutes),
I'd have a local variable holding it as well, just like in the previous method.
Line 501:                     TimeUnit.MINUTES);
Line 502:             AuditLogDirector.log(
Line 503:                     new AuditLogableBase(vds.getId())
Line 504:                     .addCustomValue("Time", Config.<Integer> 
getValue(ConfigValues.TimeToReduceFailedRunOnVdsInMinutes).toString()),


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Icfb5a1641038742dd848ee67cb0fe53ce16b7909
Gerrit-PatchSet: 9
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roy Golan <rgo...@redhat.com>
Gerrit-Reviewer: Liran Zelkha <lzel...@redhat.com>
Gerrit-Reviewer: Michal Skrivanek <michal.skriva...@redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourf...@redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczew...@gmail.com>
Gerrit-Reviewer: Roy Golan <rgo...@redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to