[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] synchronization between mtn servers

From: Lapo Luchini
Subject: [Monotone-devel] synchronization between mtn servers
Date: Sun, 25 Oct 2009 12:16:50 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv: Gecko/20090812 Thunderbird/ Mnenhy/

It would be nice to have a semi-official way to keep the main nvm.*
repos in sync... as a first rough way I'm setting this crontab on my
home server:

7 * * * * \
  mtn -d .monotone/ sy
27 * * * * \
  mtn -d .monotone/ sy
47 * * * * \
  mtn -d .monotone/ sy

where default-include-pattern = net.venge.monotone{,.*}

But I guess prjek itself has already some automatic way to follow But OTOH having a separate node that execute this cronjob
assures the 3 servers to be inline (within the hour) even if any is down.

OTOH one connection per hour is suboptimal since it has a longish lag
when revision are actually received AND does many many unnecessary
connections when new revisions are not there really.

I guess an hook could be better, but I didn't have head for it right
now, and that crontab was an easy way to do the job.

Lapo Luchini -

“I can resist everything except temptation.” (Oscar Wilde, "Lady
Windermere's Fan", 1892)

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]