langflow-ai / langflow

Langflow is a low-code app builder for RAG and multi-agent AI applications. It’s Python-based and agnostic to any model, API, or database.
http://www.langflow.org
MIT License
35.43k stars 4.22k forks source link

fix: Use AsyncSession in some API endpoints #4650

Open cbornet opened 1 week ago

cbornet commented 1 week ago

Use AsyncSession in some API endpoints

codspeed-hq[bot] commented 1 week ago

CodSpeed Performance Report

Merging #4650 will degrade performances by 25.59%

Comparing cbornet:async-session-apis (7dedb77) with main (efe6407)

Summary

❌ 1 regressions ✅ 14 untouched benchmarks

:warning: Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark main cbornet:async-session-apis Change
test_successful_run_with_input_type_any 163.6 ms 219.9 ms -25.59%