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

validate_config and apply_config timeout #27

Closed
yjszk opened this issue Jul 7, 2023 · 1 comment
Closed

validate_config and apply_config timeout #27

yjszk opened this issue Jul 7, 2023 · 1 comment

Comments

@yjszk
Copy link
Contributor

yjszk commented Jul 7, 2023

If the number of monitors exceeds 150, the following error occurs in validate_config and apply_config.

requests.exceptions.ConnectionError: HTTPSConnectionPool(host='cronitor.io', port=443): Max retries exceeded with url: /api/monitors.yaml (Caused by ReadTimeoutError("HTTPSConnectionPool(host='cronitor.io', port=443): Read timed out. (read timeout=10)"))

I have proposed a revision in the following PR. Thank you for your consideration.
#26

@aflanagan
Copy link
Collaborator

This is now available in the 4.7.0 release - https://pypi.org/project/cronitor/4.7.0/

Thanks for your help!

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

No branches or pull requests

2 participants