DescriptionGet 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 #
MessagesTotal messages: 1
|