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 #1275

Merged
Wallgau merged 3 commits into
mainfrom
models-switch-performance
Mar 26, 2026
Merged

fix: Performance: Adding, removing, updating model providers and changing language or embedding models is slow after upgrade to Langflow 1.8.0 #1275
Wallgau merged 3 commits into
mainfrom
models-switch-performance

Conversation

@Wallgau

@Wallgau Wallgau commented Mar 26, 2026

Copy link
Copy Markdown
Collaborator

cherry-pick this PR: #1193

Olfa Maslah added 2 commits March 26, 2026 10:53
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
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
@Wallgau Wallgau requested a review from lucaseduoli March 26, 2026 14:54
@github-actions github-actions Bot added backend 🔷 Issues related to backend services (OpenSearch, Langflow, APIs) tests bug 🔴 Something isn't working. labels Mar 26, 2026
@github-actions github-actions Bot added bug 🔴 Something isn't working. and removed bug 🔴 Something isn't working. labels Mar 26, 2026

@lucaseduoli lucaseduoli 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.

LGTM

@github-actions github-actions Bot added the lgtm label Mar 26, 2026
@Wallgau Wallgau merged commit 7137400 into main Mar 26, 2026
10 checks passed
@github-actions github-actions Bot deleted the models-switch-performance branch March 26, 2026 18:06
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