[PATCH] chg: make timeout adjustable

Yuya Nishihara yuya at tcha.org
Wed Jun 15 09:27:40 EDT 2016


On Tue, 14 Jun 2016 16:33:29 +0100, Jun Wu wrote:
> Excerpts from Yuya Nishihara's message of 2016-06-14 23:20:49 +0900:
> > Is it mainly for automated tests?  
> 
> No. We got several user complaints about the timeout error and I found their
> machines were overloaded. I plan to set CHGTIMEOUT=0 internally to avoid
> future complaints. It makes sense since it's guaranteed that the hg
> executable shipped is legit so I can count on "if hg serve runs, it must
> create the socket file".

Sounds like the default is too short. You can work around the problem, but
we'd better change the default to 30 or 60 sec since the problem happened in
production environment.


More information about the Mercurial-devel mailing list