Allow to set a max size for the in-memory code owner config cache

If this cache is unlimited there is a danger of caching too many code
owner config files and causing out-of-memory errors.

For now we do not set any limit per default as we don't know yet what
would be a good default value (but change I40f1eaae0 adds a new metric
that should give us an idea about this).

Signed-off-by: Edwin Kempin <ekempin@google.com>
Change-Id: I1837fc1addf522ce1c044c5c82ea77d843a034c4
4 files changed
tree: fff5a74a73a6485222855b395c817ec2ef1e6108
  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.