Back

Appwrite Self-hosted increase function timeout from 30s to 15mins?

  • 0
  • Self Hosted
  • Functions
  • Web
NewtonX
4 Oct, 2024, 07:12

I created a nodejs function that talks to Stripe API and other APIs; the method takes 1 to 2 minutes before it finishes. But when deploying to appwrite self-hosted instance, it timeout within 30s,

Despite my efforts, I've been unable to find a solution to the timeout issue. I've tried changing the timeout on the UI to 900, but it's not respecting that setting.

oh, and that functions get triggered via Stripe webhook.

Any idea how to increase?, happy to do a code change if someone tell me where is that code

TL;DR
Developers are having trouble increasing the function timeout from 30 seconds to 15 minutes on their self-hosted Appwrite instance. The UI setting adjustment didn't work. They are seeking advice on where in the code to make changes to address this issue.
NewtonX
4 Oct, 2024, 07:36

@Steven

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more