Skip to content

fix: Performance: Adding, removing, updating model providers and changing language or embedding models is slow after upgrade to Langflow 1.8.0 #1193

Merged
Wallgau merged 5 commits into
release-0.4.0from
models-switch-performance
Mar 20, 2026
Merged

fix: Performance: Adding, removing, updating model providers and changing language or embedding models is slow after upgrade to Langflow 1.8.0 #1193
Wallgau merged 5 commits into
release-0.4.0from
models-switch-performance

Conversation

@Wallgau

@Wallgau Wallgau commented Mar 19, 2026

Copy link
Copy Markdown
Collaborator

issue: #1091
Keep settings persistence responsive by saving config and returning immediately, while running heavy Langflow global-variable/model propagation asynchronously with safe error logging.

Screen.Recording.2026-03-18.at.9.17.26.PM.mov

Keep settings persistence responsive by saving config and returning immediately, while running heavy Langflow global-variable/model propagation asynchronously with safe error logging.

Made-with: Cursor
@github-actions github-actions Bot added backend 🔷 Issues related to backend services (OpenSearch, Langflow, APIs) bug 🔴 Something isn't working. and removed bug 🔴 Something isn't working. labels Mar 19, 2026
@Wallgau Wallgau requested a review from mpawlow March 19, 2026 01:29
@github-actions github-actions Bot added bug 🔴 Something isn't working. and removed bug 🔴 Something isn't working. labels Mar 19, 2026
@github-actions github-actions Bot added bug 🔴 Something isn't working. and removed bug 🔴 Something isn't working. labels Mar 19, 2026
@github-actions github-actions Bot added bug 🔴 Something isn't working. and removed bug 🔴 Something isn't working. labels Mar 19, 2026
Keep a strong reference to the background settings sync task and trigger MCP credential updates when provider removals cause embedding fallback changes.

Made-with: Cursor
@github-actions github-actions Bot added tests bug 🔴 Something isn't working. and removed bug 🔴 Something isn't working. labels Mar 20, 2026

@mpawlow mpawlow left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review 1

  • See PR comments (a), (b)

Comment thread src/api/settings.py
Comment thread src/api/settings.py
@Wallgau Wallgau requested a review from mpawlow March 20, 2026 17:00

@mpawlow mpawlow left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review 2

  • ✅ LGTM / Approved
  • Doing a final Functional Review

@mpawlow mpawlow left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Functional Review 1

  • ✅ Approved / LGTM

@github-actions github-actions Bot added the lgtm label Mar 20, 2026
@Wallgau Wallgau merged commit 61aaf42 into release-0.4.0 Mar 20, 2026
11 checks passed
@github-actions github-actions Bot deleted the models-switch-performance branch March 20, 2026 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend 🔷 Issues related to backend services (OpenSearch, Langflow, APIs) bug 🔴 Something isn't working. lgtm tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants