Files
ha-text-ai/custom_components/ha_text_ai
SMKRV 2bdef2b494 Main changes:
Created global SSL_CONTEXT at module level
Removed blocking create_default_context calls from async functions
Optimized aiohttp.ClientSession handling:
Using single connector with SSL context
Session is created once for all requests in validate_api_connection
Improved resource management:
Automatic session closure using context managers
More efficient connection handling
These changes should eliminate the blocking call warning and improve
overall code performance.
2024-11-19 16:33:30 +03:00
..
2024-11-19 15:10:06 +03:00
2024-11-19 16:25:44 +03:00
2024-11-19 16:33:30 +03:00
2024-11-19 14:35:45 +03:00
2024-11-19 14:35:45 +03:00
2024-11-19 14:46:12 +03:00
2024-11-19 14:35:45 +03:00
2024-11-19 14:35:45 +03:00