diff options
| author | Chris Behrens <cbehrens@codestud.com> | 2011-05-13 16:55:18 +0000 |
|---|---|---|
| committer | Tarmac <> | 2011-05-13 16:55:18 +0000 |
| commit | 715d7ae9a3dc3804b0bcea0830ebd0f1322e16fe (patch) | |
| tree | 7780f3b1f490b679ab4e497340bfbe62d7654f18 /bin/stack | |
| parent | 0805521c79f934ba54f839be64a2c43ed177612d (diff) | |
| parent | 3f247a628c954d5d4d97def6e6a2f889ab7ec7e3 (diff) | |
| download | nova-715d7ae9a3dc3804b0bcea0830ebd0f1322e16fe.tar.gz nova-715d7ae9a3dc3804b0bcea0830ebd0f1322e16fe.tar.xz nova-715d7ae9a3dc3804b0bcea0830ebd0f1322e16fe.zip | |
XenAPI was not implemented to allow for multiple simultaneous XenAPI requests. A single XenAPIConnection (and thus XenAPISession) is used for all queries. XenAPISession's wait_for_task method would set a self.loop = for looping calls to _poll_task until task completion. Subsequent (parallel) calls to wait_for_task for another query would overwrite this. XenAPISession._poll_task was pulled into the XenAPISession.wait_for_task method to avoid having to store self.loop.
Diffstat (limited to 'bin/stack')
0 files changed, 0 insertions, 0 deletions
