Skip to content

Conversation

@bdraco
Copy link
Contributor

@bdraco bdraco commented Aug 10, 2024

load_verify_locations should run in the executor

related issue #1029

bdraco added 2 commits August 10, 2024 10:35
load_verify_locations should run in the executor
load_verify_locations should run in the executor
@bdraco bdraco changed the title Fix loading the api proxy cert blocking the event loop fix: loading the api proxy cert blocking the event loop Aug 10, 2024
polling_policy=config_entry.options.get(
CONF_POLLING_POLICY, DEFAULT_POLLING_POLICY
),
api_proxy_cert=config.get(CONF_API_PROXY_CERT),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No point in passing this if we already loaded it and we pass the AsyncClient

@bdraco bdraco marked this pull request as ready for review August 10, 2024 16:23
@alandtse alandtse changed the title fix: loading the api proxy cert blocking the event loop fix: fix api proxy cert blocking the event loop Aug 11, 2024
@alandtse alandtse merged commit 74f2986 into alandtse:dev Aug 11, 2024
@bdraco bdraco deleted the api_proxy_cert branch August 11, 2024 00:17
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.

2 participants