Dan Kenigsberg has submitted this change and it was merged.

Change subject: get max_tasks and thread_pool_size from config by getint()
......................................................................


get max_tasks and thread_pool_size from config by getint()

It is OK to get max_tasks and thread_pool_size by getfloat()

The max_tasks will be passed to the Queue as maxsize and the
thread_pool_size is the thread number of the task thread pool.

So int is more reasonable than float

Change-Id: I9fc719b1b4238b0df2d9c882777cb75d7a27d4df
Signed-off-by: ShaoHe Feng <[email protected]>
Signed-off-by: Adam Litke <[email protected]>
Reviewed-on: http://gerrit.ovirt.org/9035
Reviewed-by: Dan Kenigsberg <[email protected]>
Reviewed-by: Nir Soffer <[email protected]>
---
M lib/vdsm/config.py.in
M vdsm/storage/storage_mailbox.py
M vdsm/storage/taskManager.py
3 files changed, 8 insertions(+), 7 deletions(-)

Approvals:
  Nir Soffer: Looks good to me, but someone else must approve
  Adam Litke: Verified
  Dan Kenigsberg: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I9fc719b1b4238b0df2d9c882777cb75d7a27d4df
Gerrit-PatchSet: 6
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: ShaoHe Feng <[email protected]>
Gerrit-Reviewer: Adam Litke <[email protected]>
Gerrit-Reviewer: Ayal Baron <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Federico Simoncelli <[email protected]>
Gerrit-Reviewer: Hunt Xu <[email protected]>
Gerrit-Reviewer: Itamar Heim <[email protected]>
Gerrit-Reviewer: Mark Wu <[email protected]>
Gerrit-Reviewer: Nir Soffer <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to