chdsbd / kodiak

🔮 A bot to automatically update and merge GitHub PRs
https://kodiakhq.com
GNU Affero General Public License v3.0
1.03k stars 65 forks source link

fix(bot): http client perf issue #852

Closed sbdchd closed 1 year ago

sbdchd commented 1 year ago

Work around for a perf issue with how httpx handles SSL.

Instead of using httpx.AsyncClient directly, we subclass and reuse the ssl context.

rel: https://github.com/encode/httpx/issues/838