[NCLUG] CVS Auto update of web pages?
Matthew Wilcox
willy at debian.org
Thu Apr 4 05:54:32 MST 2002
On Wed, Apr 03, 2002 at 11:38:18PM -0700, Sean Reifschneider wrote:
> >My implementation sent an email to the webserver user which upon receipt
> >took a local lock, ran cvs up, ran make, slept for 180 seconds and
> >released the lock.
>
> Doesn't that mean that if you have two commits done in less than 3 minutes,
> only the first will actually be done?
No, it means the results of the second commit may be delayed up to 3 minutes.
It's a sleeping lock. Something we can all live with, I think.
> I'd think you'd want to:
>
> get lock
> sleep 180
> drop lock
> do update
Nah, that delays all updates by 3 minutes.
--
Revolutions do not require corporate support.
More information about the NCLUG
mailing list