]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
change time.sleep to use loopingcall
authorWalter A. Boring IV <walter.boring@hp.com>
Fri, 28 Feb 2014 19:02:19 +0000 (11:02 -0800)
committerWalter A. Boring IV <walter.boring@hp.com>
Fri, 28 Feb 2014 21:06:36 +0000 (13:06 -0800)
commitb493dcce93418ed09f0e2b7e1dccc20270deb75c
tree3be19abbdb8d19d786ccadedb49fde9b34693d6e
parent6b15c40ba9928ea729146948855759d8635c0dde
change time.sleep to use loopingcall

We don't want to block the volume manager from servicing
requests.  So this patch changes our use of time.sleep
to use loopingcall wait, which uses eventlet greenthread
sleep.

Change-Id: I13a1e4932e24ff5f09e35b8baa7c0fd5410388b6
Closes-Bug: #1286285
cinder/volume/drivers/san/hp/hp_3par_common.py