Change in vdsm[master]: executor: Streamline __repr__
nsoffer at redhat.com
nsoffer at redhat.com
Wed Dec 16 17:52:44 UTC 2015
Nir Soffer has posted comments on this change.
Change subject: executor: Streamline __repr__
......................................................................
Patch Set 1: Continuous-Integration+1 Verified+1
CI failure is not relevant.
Verified using the tests and manhole:
Python 2.7.5 (default, Oct 11 2015, 17:47:16)
[GCC 4.8.3 20140911 (Red Hat 4.8.3-9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(ManholeConsole)
>>> from virt import periodic
>>> import pprint
>>> import time
>>> while True:
... pprint.pprint(periodic._executor._workers)
... time.sleep(5)
...
set([<Worker name=periodic/0 waiting at 0x7ff97c038d10>,
<Worker name=periodic/1 waiting at 0x7ff97c038f10>,
<Worker name=periodic/2 waiting at 0x7ff97c0411d0>,
<Worker name=periodic/3 waiting at 0x7ff97c041510>])
...
set([<Worker name=periodic/0 waiting at 0x7ff97c038d10>,
<Worker name=periodic/1 running Task(callable=<NumaInfoMonitor vm=b6a3c2ff-2992-4397-9d19-d8d5234e6b74 at 0x7ff95c1e4110>, timeout=7.5) at 0x7ff97c038f10>,
<Worker name=periodic/2 waiting at 0x7ff97c0411d0>,
<Worker name=periodic/3 running Task(callable=<Operation action=<virt.sampling.VMBulkSampler object at 0x7ff97c041ad0> at 0x7ff97c041c50>, timeout=7.5) at 0x7ff97c041510>])
--
To view, visit https://gerrit.ovirt.org/50627
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I0ddc1c0ebc5933ad5fad02b24cc1c32f417aa2d3
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
Gerrit-HasComments: No
More information about the vdsm-patches
mailing list