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

Issue 14540044: 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:
mp+189857, fwereade
Visibility:
Public.

Description

worker/addressupdater: back off failed lookups [cherrypicked from trunk] Using the given values for ShortPoll, ShortPollBackoff and LongPoll, it will take about 34 minutes and 10 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/445-1.16-addressupdater-backoff/+merge/189857 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : 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 1 chunk +2 lines, -0 lines 0 comments Download
M worker/addressupdater/machine_test.go View 3 chunks +27 lines, -7 lines 0 comments Download
M worker/addressupdater/updater.go View 2 chunks +15 lines, -7 lines 0 comments Download

Messages

Total messages: 2
rog
Please take a look.
10 years, 7 months ago (2013-10-08 14:03:50 UTC) #1
fwereade
10 years, 7 months ago (2013-10-08 16:11:08 UTC) #2
LGTM, thanks.
Sign in to reply to this message.

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