Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

CIRCLE / cloud

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 94
  • Merge Requests 10
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Merged
Merge request !172 opened Aug 27, 2014 by Guba Sándor@gubasandor 
  • Report abuse
Report abuse

Issue 264

fixes #264 (closed)

  • Discussion 2
  • Commits 3
  • Changes
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
  • Őry Máté
    @orymate started a discussion on the diff Aug 27, 2014
    circle/vm/models/instance.py
    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
    • Őry Máté @orymate commented Aug 27, 2014
      Owner

      could remove pass

      could remove pass
    Please register or sign in to reply
  • Őry Máté @orymate commented Aug 27, 2014
    Owner

    +1

    +1
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment
Őry Máté
Assignee
Őry Máté @orymate
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View labels
2
2 participants
Reference: circle/cloud!172