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

Issue 7422045: Get the lock lease time from the ingest cycle time

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by abel.deuring
Modified:
9 years, 6 months ago
Reviewers:
mp+151056
Visibility:
Public.

Description

Get the lock lease time from the ingest cycle time The scripts "queue" and "review" acquire locks to avoid concurrent runs of these scripts on multiple instances. The lease time for these locks can and should be set from the "cycle time" of the scripts. Curtis suggested to keep the lock for twice as long; I added one minute more to avoid possible spurious errors that might occur due to clock skew between two servers. https://code.launchpad.net/~adeuring/charms/precise/charmworld/charm-set-lock-timeout/+merge/151056 (do not edit description out of merge proposal)

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -0 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M scripts/write_config.py View 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 1
abel.deuring
11 years, 2 months ago (2013-02-28 16:58:10 UTC) #1
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