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.
signature.asc
Description: OpenPGP digital signature

