Issue 264
fixes #264 (closed)
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
-
926 927 927 928 def allocate_vnc_port(self): 928 929 if self.vnc_port is None: 929 self.vnc_port = find_unused_vnc_port() 930 self.save() 930 while True: 931 try: 932 self.vnc_port = find_unused_vnc_port() 933 self.save() 934 except IntegrityError: 935 # Another thread took this port get another one 936 logger.debug("Port %s is in use.", self.vnc_port) 937 pass -
Owner
could remove pass
-
-
Owner
+1