T
Typebot2mo ago
Kamal

High Response Time for startChat API in Self-Hosted TypeBot on Vercel

I have a self-hosted TypeBot instance on Vercel, connected to a MySQL database. When I click on the chat bubbles, there's a noticeable delay in response time, sometimes taking 15 to 16 seconds for the initial load. The bottleneck seems to be with the startChat API. How can I reduce this delay?
1 Reply
Baptiste
Baptiste2mo ago
Maybe your flow starts with a long-running block like OpenAI or something? https://docs.typebot.io/editor/blocks/integrations/webhook#webhook-is-not-executed-in-the-right-order