mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-25 23:55:57 +03:00
[GH-ISSUE #653] Multiple threads from hostdetails.py connections. need solution for to-do items of this file. #497
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Priyanka12345678910 on GitHub (Dec 20, 2017).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/653
Hi,
Is there any solution of below two things which are in to-do list for /webvirtmgr/blob/master/vrtManager/hostdetails.py ? It is spawning multiple threads for all the connections on every refresh of the page. If someone can look at it asap it would be great.
class wvmConnection(object):
"""
class representing a single connection stored in the Connection Manager
# to-do: may also need some locking to ensure to not connect simultaniously in 2 threads
"""
..................................................
def close(self):
"""Close connection"""
# to-do: do not close connection ;)
# self.wvm.close()
pass
@Priyanka12345678910 commented on GitHub (Dec 20, 2017):
Please someone help me on this.