Back

[SOLVED] appwrite Functions Timeout

  • 0
  • Web
  • Tools
  • Self Hosted
  • Functions
  • REST API
shubhamm6996
25 Nov, 2023, 10:34

Hello everyone, been playing around with appwrite, till now it feels smooth, need some help the maximum execution time alloted for appwrite Functions is 15 minutes, but i have some functions that needs more than that like 30 minutes or an hour something to finish the the function execution how can i achieve that ? any idea is appreciated, thankyou so much

TL;DR
Title: [SOLVED] appwrite Functions Timeout Solution: Currently, there is no support for long-running appwrite functions. The maximum execution time allotted is 15 minutes. To work around this, you can divide the workload into multiple small operations or functions. Additionally, you can use a python solution that shoots threads and processes on each video by finding an alternative to divide the playlist link into video links and then use appwrite functions.
D5
25 Nov, 2023, 12:29

Unfortunately, currently there's no support for long-running appwrite functions

D5
25 Nov, 2023, 12:30

Instead you will need to divide load in multiple small operations or small functions

shubhamm6996
25 Nov, 2023, 12:36

Can I use one function which will trigger these multiple small functions? Because I'm taking a playlist link as input from user, and there will be multiple video links for a particular playlist, So a playlist can be 10 vids or 30 vids, etc.

I've created a python solution which shoots threads and processes on each video, maybe have to find an alternative to divide playlist link into video links and then use appwrite functions

D5
25 Nov, 2023, 12:41

Yes, as long as it doesn't need to run more than 15 minutes

shubhamm6996
25 Nov, 2023, 18:21

Yes sir, thankyou so much

Drake
27 Nov, 2023, 16:52

[SOLVED] appwrite Functions Timeout

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