Back

Functions failing in 30s

  • 0
  • Functions
  • Web
Ajit Singh
8 Oct, 2023, 16:25

I have set the timeout of my functions for 600s but all my functions are failing in 30s

Project Id 6497da34c04e5a65ac32

TL;DR
User is experiencing issues with their functions failing after 30 seconds. They mention that they have set the timeout of their functions to 600s but they are still failing. They ask for documentation or guidance on how to execute functions asynchronously.
D5
8 Oct, 2023, 21:37

Maybe the function code is incorrect?

D5
8 Oct, 2023, 21:37

Could you please share it?

D5
8 Oct, 2023, 21:37

Or at least more relevant fragments?

Drake
8 Oct, 2023, 23:23

Execute the function asynchronously. Synchronous functions are capped at 30s

Ajit Singh
9 Oct, 2023, 01:11

Is there documentation for that

Ajit Singh
9 Oct, 2023, 01:12

Because it worked earlier

Drake
9 Oct, 2023, 01:12

Not yet

Ajit Singh
9 Oct, 2023, 01:12

Can you tell me how to do it

Drake
9 Oct, 2023, 01:12

What do you mean?

Ajit Singh
9 Oct, 2023, 01:13

I'm already using async await in js

Ajit Singh
9 Oct, 2023, 01:13

So I don't understand how to make them more async

Drake
9 Oct, 2023, 01:13

Oh you mean how to execute functions asynchronously

Ajit Singh
9 Oct, 2023, 01:13

Yes

Ajit Singh
9 Oct, 2023, 01:14

Thanks I'll try it

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