Reduce default value for maxPathsInChangeMessages config parameter

The maxPathsInChangeMessages controls how many owned paths should be
included into changes messages at most. Computing owned path is rather
expensive and contributes to the latency of post review. By reducing the
number of owned paths that are included by default we lower the impact
on the latency. The paths in the change messages are used for having a
more transparent UX, but also for code owner metrics. Reducing the
number of the included paths makes the metrics less precise, but since
most changes touch less than 50 files the new default value should be
still good enough.

Signed-off-by: Edwin Kempin <ekempin@google.com>
Change-Id: I3b520220c76e1f64ec7814f40f0e82d3c48ff0d4
2 files changed
tree: 2c6b974aba0d354726fc75901d3275731e01081f
  1. java/
  2. javatests/
  3. proto/
  4. resources/
  5. test/
  6. ui/
  7. .eslintrc.json
  8. .gitignore
  9. .gitreview
  10. bower.json
  11. BUILD
  12. LICENSE
  13. package-lock.json
  14. package.json
  15. README.md
README.md

Gerrit Code Review code-owners plugin

This plugin provides support for defining code owners for files in a repository.

If the code-owners plugin is enabled, changes can only be submitted if all touched files are covered by approvals from code owners.

Also see resources/Documentation/about.md.

IMPORTANT: Before installing/enabling the plugin follow the instructions from the setup guide, see resources/Documentation/setup-guide.md.