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 !132 opened Jul 25, 2014 by Őry Máté@orymate 
  • Report abuse
Report abuse

Feature Agent Renew

  • send notification to agent about expiration
  • provide machine-readable response for renew
  • Discussion 1
  • Commits 9
  • Changes
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
  • Őry Máté
    @orymate started a discussion on an old version of the diff Jul 26, 2014
    circle/dashboard/views.py
    580 return redirect("%s#activity" % self.object.get_absolute_url())
    593 wait = self.wait_for_result
    594 if wait:
    595 try:
    596 result = task.get(timeout=wait,
    597 interval=min((wait / 5, .5)))
    598 except TimeoutError:
    599 logger.debug("Result didn't arrive in %ss",
    600 self.wait_for_result, exc_info=True)
    601 except Exception as e:
    602 messages.error(request, _('Operation failed.'))
    603 logger.debug("Operation failed.", exc_info=True)
    604 result = e
    605 else:
    606 messages.success(request, _('Operation succeeded.'))
    607 if result is None:
    • Őry Máté @orymate commented Jul 26, 2014
      Owner

      this is true if operation returns None (and it often does)

      this is true if operation returns None (and it often does)
    Please register or sign in to reply
  • 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
Assignee
No assignee
Assign to
IK migration
Milestone
IK migration
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View labels
1
1 participant
Reference: circle/cloud!132