Avatar for the langflow-ai user
langflow-ai
langflow
BlogDocsChangelog

feat: Centralize database connection settings and deprecate old parameters

#5960Merged
Comparing
add-poll-config-to-db-service
(
71ad5ec
) with
main
(
3e2e2ce
)
CodSpeed Performance Gauge
+55%
Improvements
6
Regressions
0
Untouched
3
New
0
Dropped
0
Ignored
0

Benchmarks

Improved

test_invalid_run_with_input_type_chat
src/backend/tests/unit/test_endpoints.py::test_invalid_run_with_input_type_chat
CodSpeed Performance Gauge
+55%
27 ms
17.4 ms
test_successful_run_with_input_type_any
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_any
CodSpeed Performance Gauge
+18%
172.6 ms
145.8 ms
test_successful_run_with_output_type_any
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_any
CodSpeed Performance Gauge
+17%
154.7 ms
132.7 ms
test_successful_run_with_output_type_debug
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_output_type_debug
CodSpeed Performance Gauge
+15%
164.2 ms
142.7 ms
test_successful_run_with_input_type_text
src/backend/tests/unit/test_endpoints.py::test_successful_run_with_input_type_text
CodSpeed Performance Gauge
+15%
163.9 ms
142.9 ms
test_build_flow_from_request_data
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow_from_request_data
CodSpeed Performance Gauge
+13%
325.6 ms
289.4 ms

Passed

test_build_flow
src/backend/tests/unit/test_chat_endpoint.py::test_build_flow
CodSpeed Performance Gauge
+5%
299.6 ms
285.9 ms
test_starter_projects
src/backend/tests/unit/test_endpoints.py::test_starter_projects
CodSpeed Performance Gauge
+1%
1.1 s
1.1 s
test_get_all
src/backend/tests/unit/test_endpoints.py::test_get_all
CodSpeed Performance Gauge
0%
586.9 ms
585.6 ms

Commits

Click on a commit to change the comparison range
Base
main
3e2e2ce
+55%
fix: Resolve SQLAlchemy async engine pool configuration for SQLite Explicitly set AsyncAdaptedQueuePool for SQLite connections to address potential async engine configuration issues. This ensures proper pool handling when creating database connections, particularly for SQLite databases.
854c463
2 months ago
by ogabrielluiz
+9%
[autofix.ci] apply automated fixes
e20a7e5
1 month ago
by autofix-ci[bot]
-9%
test: Enhance GitHub URL detection test with mocking and improved coverage Refactor `test_detect_github_url` to use AsyncMock and patch for more robust testing of GitHub URL detection, including verification of API calls and handling of different URL scenarios.
71ad5ec
1 month ago
by ogabrielluiz
Home Terms PrivacyDocs