refactor(core): Remove now unnecessary chat workaround (no-changelog) (#21336)

This commit is contained in:
Jaakko Husso 2025-10-29 16:59:08 +02:00 committed by GitHub
parent 77badda95b
commit e2a63d2a59
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1091,10 +1091,6 @@ export class ChatHubService {
);
} finally {
if (provider !== 'n8n') {
// TODO: If we don't wait for a bit then a followup workflow insights query
// that happens after executions might fail to find the workflow.
// Once/if we add the new workflow flag to keep these WFs around this wouldn't be needed.
await new Promise((resolve) => setTimeout(resolve, 3000));
await this.deleteChatWorkflow(workflowData.id);
}
}