This is alarming. Creating executions by holding down "Enter" key will continually create executions. Whereby the first 5 or so goes through but then Appwrite freezes entirely and nothing works.
It does resolve itself after 5 minutes, but in that time nothing works. The console is unavailable as are the SDKs.
It actually doesnt resolve itself. It freezes after executing a function again.
This input, will send executions to the functions.createExecution SDK.
Then after creating the execution I get this:
Any way I can debug this for you guys?
Also sometimes I get this:
Operation timed out after 30002 milliseconds with 0 bytes received with status code 0\nError Code: 0
Perhaps because the async option was set to false?
but then how can one await the result?
Previous code:
const result = await functions.createExecution(
"functionId", // Function ID
JSON.stringify(executionData)
);
New code but dont know how to await the result?:
const result = await functions.createExecution(
"functionId", // Function ID
JSON.stringify(executionData),
true
);
So yeah... it needs to by synchronous.
Recommended threads
- router_deployment_not_found
I updated my function a few times and now i am getting the error: router_deployment_not_found I even reverted back to my original code but i am still getting th...
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- [Beginner] CLI --queries Syntax Error & ...
Hi everyone! I am a beginner with Appwrite and trying to use the CLI, but I'm stuck with a syntax error. Any guidance would be greatly appreciated! 🙏 **Enviro...