Mercurial > hg
comparison mercurial/configitems.py @ 45462:c1d6e930ac8a
fsmonitor: increase the threshold before we recommend it, when using rust
50k files works just fine with the rust status, and it's annoying to
get told "consider using fsmonitor" when we have another solution to
the status speed.
400k files was not chosen in any rigorous way. I know 200k files is
fine. Twice as many files should still be fine.
Differential Revision: https://phab.mercurial-scm.org/D9021
author | Valentin Gatien-Baron <vgatien-baron@janestreet.com> |
---|---|
date | Mon, 14 Sep 2020 11:32:24 -0400 |
parents | b6269741ed42 |
children | d252f51ab032 |
comparison
equal
deleted
inserted
replaced
45461:14be07d5603c | 45462:c1d6e930ac8a |
---|---|
791 ) | 791 ) |
792 coreconfigitem( | 792 coreconfigitem( |
793 b'fsmonitor', b'warn_update_file_count', default=50000, | 793 b'fsmonitor', b'warn_update_file_count', default=50000, |
794 ) | 794 ) |
795 coreconfigitem( | 795 coreconfigitem( |
796 b'fsmonitor', b'warn_update_file_count_rust', default=400000, | |
797 ) | |
798 coreconfigitem( | |
796 b'help', br'hidden-command\..*', default=False, generic=True, | 799 b'help', br'hidden-command\..*', default=False, generic=True, |
797 ) | 800 ) |
798 coreconfigitem( | 801 coreconfigitem( |
799 b'help', br'hidden-topic\..*', default=False, generic=True, | 802 b'help', br'hidden-topic\..*', default=False, generic=True, |
800 ) | 803 ) |