File size limit#
By default, Codacy Self-hosted ignores files larger than 150 KB, as Codacy Cloud does. On Codacy Self-hosted you can change the limit, since you decide the resources your instance has.
To change the file size limit:
-
Edit the value of
global.workerManager.workers.config.analysis.maxFileSizeBytesin thevalues-production.yamlfile that you used to install Codacy:global: workerManager: workers: config: analysis: maxFileSizeBytes: 150000 -
Apply the new configuration by performing a Helm upgrade. To do so execute the command used to install Codacy, with the version of Codacy Self-hosted you have installed:
Important
If you're using MicroK8s you must use the file
values-microk8s.yamltogether with the filevalues-production.yaml.To do this, uncomment the last line before running the
helm upgradecommand below.helm upgrade (...options used to install Codacy...) \ --version 17.0.0 \ --values values-production.yaml \ # --values values-microk8s.yamlhelm upgrade (...options used to install Codacy...) \ --version 16.0.0 \ --values values-production.yaml \ # --values values-microk8s.yamlhelm upgrade (...options used to install Codacy...) \ --version 15.0.0 \ --values values-production.yaml \ # --values values-microk8s.yamlhelm upgrade (...options used to install Codacy...) \ --version 14.1.1 \ --values values-production.yaml \ # --values values-microk8s.yamlhelm upgrade (...options used to install Codacy...) \ --version 14.0.0 \ --values values-production.yaml \ # --values values-microk8s.yamlhelm upgrade (...options used to install Codacy...) \ --version 13.0.0 \ --values values-production.yaml \ # --values values-microk8s.yamlhelm upgrade (...options used to install Codacy...) \ --version 12.0.0 \ --values values-production.yaml \ # --values values-microk8s.yamlhelm upgrade (...options used to install Codacy...) \ --version 11.0.0 \ --values values-production.yaml \ # --values values-microk8s.yamlhelm upgrade (...options used to install Codacy...) \ --version 10.0.0 \ --values values-production.yaml \ # --values values-microk8s.yaml
Was this page helpful?
Your feedback helps us improve the documentation.
255 characters left
Thanks for helping improve Codacy documentation.
For more detailed feedback, open an issue on GitHub.