File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 11Sphinx >= 3.3.1
22sphinx-rtd-theme >= 0.5.0
3- doc8 >= 0.8.1
3+ doc8 >= 0.8.1
Original file line number Diff line number Diff line change @@ -46,3 +46,20 @@ VulnerableCode first checks the file at `/etc/vulnerablecode/.env` and if not
4646present, it will attempt to load a `.env ` file from the checkout directory.
4747
4848The file at `/etc/vulnerablecode/.env ` has precedence.
49+
50+
51+ Throttling rate configuration
52+ -------------------------------
53+
54+ The default throttling settings are defined in ``settings.py ``.
55+
56+ To override the default settings, add env variables in ``.env `` file
57+ define the settings there. For example::
58+
59+ ALL_VULNERABLE_PACKAGES_THROTTLING_RATE = '1000/hour'
60+ BULK_SEARCH_PACKAGE_THROTTLING_RATE = '10/minute'
61+ PACKAGES_SEARCH_THROTTLING_RATE = '1000/second'
62+ VULNERABILITIES_SEARCH_THROTTLING_RATE = '1000/hour'
63+ ALIASES_SEARCH_THROTTLING_RATE = '1000/hour'
64+ CPE_SEARCH_THROTTLING_RATE = '10/minute'
65+ BULK_SEARCH_CPE_THROTTLING_RATE = '10/minute'
You can’t perform that action at this time.
0 commit comments