Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract NVD_NIST_TIMEOUT to settings #308

Merged
merged 1 commit into from
Feb 1, 2025

Conversation

SashaTail
Copy link
Contributor

@SashaTail SashaTail commented Feb 1, 2025

  • Moved the hardcoded timeout value (30.0) to a configurable setting NVD_NIST_TIMEOUT.
  • Updated the aiohttp.ClientSession timeout settings to use NVD_NIST_TIMEOUT from environment variables.
  • Added documentation for NVD_NIST_TIMEOUT in RST format.

This allows for easier configuration of timeout values without modifying the code.
fixes #307

- Moved the hardcoded timeout value (30.0) to a configurable setting `NVD_NIST_TIMEOUT`.
- Updated the aiohttp.ClientSession timeout settings to use `NVD_NIST_TIMEOUT` from environment variables.
- Added documentation for `NVD_NIST_TIMEOUT` in RST format.

This allows for easier configuration of timeout values without modifying the code.
@SashaTail SashaTail changed the title Extract NVD_NIST_TIMEOUT to settings Extract NVD_NIST_TIMEOUT to settings #307 Feb 1, 2025
@SashaTail SashaTail changed the title Extract NVD_NIST_TIMEOUT to settings #307 Extract NVD_NIST_TIMEOUT to settings Feb 1, 2025
@P-T-I P-T-I merged commit 183e7e9 into cve-search:master Feb 1, 2025
1 of 3 checks passed
@P-T-I
Copy link
Member

P-T-I commented Feb 1, 2025

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NVD API does not have time to give the result
2 participants