tchellomello / python-amcrest

A Python 2.7/3.x module for Amcrest and Dahua Cameras using the SDK HTTP API.
GNU General Public License v2.0
216 stars 76 forks source link

async api does significant I/O in the event loop due to ssl context creation from httpx client being created each command #230

Closed bdraco closed 1 year ago

bdraco commented 1 year ago

profile data courtesy of @Madelena

https://github.com/tchellomello/python-amcrest/blob/1208bed3390f4c1d4505f32c3a221062a167c4ba/src/amcrest/http.py#L334

ssl_context_io