Change in vdsm[master]: virt: add ExpiringDict

fromani at redhat.com fromani at redhat.com
Mon Feb 2 13:27:58 UTC 2015


Francesco Romani has posted comments on this change.

Change subject: virt: add ExpiringDict
......................................................................


Patch Set 6:

(1 comment)

http://gerrit.ovirt.org/#/c/36716/6/vdsm/virt/utils.py
File vdsm/virt/utils.py:

Line 114: 
Line 115:         expiration, value = self._items[key]
Line 116:         if expiration <= self._clock():
Line 117:             del self._items[key]
Line 118:             return None
> Done
...with the block which does the expiration check inside the lock.
Line 119: 


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I51e38cea6a23b7abe2375780e6ece0ff90831b6d
Gerrit-PatchSet: 6
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes


More information about the vdsm-patches mailing list