Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1959)

Issue 14438049: worker/addressupdater: back off failed lookups

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by rog
Modified:
10 years, 7 months ago
Reviewers:
dimitern, mp+189831, fwereade
Visibility:
Public.

Description

worker/addressupdater: back off failed lookups Using the given values for ShortPoll, ShortPollBackoff and LongPoll, it will take about 3 hours and 73 requests to reach maximum poll interval (15 minutes). A nice example of the flexibility of goroutine-based logic, I think. https://code.launchpad.net/~rogpeppe/juju-core/444-addressupdater-backoff/+merge/189831 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : worker/addressupdater: back off failed lookups #

Total comments: 1

Patch Set 3 : worker/addressupdater: back off failed lookups #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -14 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M worker/addressupdater/machine_test.go View 1 3 chunks +27 lines, -7 lines 0 comments Download
M worker/addressupdater/updater.go View 1 2 2 chunks +15 lines, -7 lines 0 comments Download

Messages

Total messages: 4
rog
Please take a look.
10 years, 7 months ago (2013-10-08 12:33:39 UTC) #1
dimitern
LGTM https://codereview.appspot.com/14438049/diff/3001/worker/addressupdater/updater.go File worker/addressupdater/updater.go (right): https://codereview.appspot.com/14438049/diff/3001/worker/addressupdater/updater.go#newcode29 worker/addressupdater/updater.go:29: ShortPollBackoff = 1.1 how did you come up ...
10 years, 7 months ago (2013-10-08 12:43:06 UTC) #2
fwereade
LGTM
10 years, 7 months ago (2013-10-08 12:53:43 UTC) #3
rog
10 years, 7 months ago (2013-10-08 13:04:46 UTC) #4
Please take a look.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b