D5588: watchman: disable fsmonitor when running non-interactively
lothiraldan (Boris Feld)
phabricator at mercurial-scm.org
Thu Jan 17 11:36:01 EST 2019
lothiraldan added a comment.
In https://phab.mercurial-scm.org/D5588#82922, @indygreg wrote:
> Why wouldn't we want automated, non-interactive tools to have the benefits of watchman? There are plenty of use cases where complex Mercurial operations are scripted and would benefit from watchman.
>
> Your commit message details an issue that I assume you encountered in the wild. Are there other ways we can work around this? Perhaps we can set the idle timeout/shutdown interval of watchman to be much smaller when Mercurial is non-interactive?
Yes what we saw in the wild is background jobs taking all the resources making interactive commands slower for users.
I'm not sure what are the others workaround for this, I don't know if tuning the timeout / shutdown might be useful.
There is also the possibility to put it behind a config knob.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D5588
To: lothiraldan, #hg-reviewers, indygreg
Cc: indygreg, mercurial-devel
More information about the Mercurial-devel
mailing list