[arch-dev-public] [PATCH 4/4] ftpdir-cleanup: lock repo before doing the cleanup
thomas at archlinux.org
Thu Feb 25 14:16:46 EST 2010
Am 25.02.2010 19:44, schrieb Eric Bélanger:
> Yeah, I'll look into using flock in our repo_lock function instead of
> doing this while loop. BTW, should the timeout time be an argument of
> repo_lock, i.e. each script could set its own value ? Or should we use
> a common value (60 seconds ?) defined in config?
I like the option. The scripts we call manually could have an infinite
timeout (we can abort them manually), while the cronjobs could use very
long (5 minutes) static timeouts.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 262 bytes
Desc: OpenPGP digital signature
More information about the arch-dev-public