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
- Self hosted project based backup
Is there a native way to perform a project-level backup in a self-hosted instance, instead of backing up the entire Docker instance? If not, I would like to off...
- Function domain not available
Hello, even tho in docs you clearly describe that every function has its domain, I can not see it anywhere in any of my projects. How do I reveal the url of th...
- Inquiry: How to Reduce Cold Start Durati...
Hey! I was using Python for the function runtime, but after reading that Go has the fastest runtime, I switched my code over to Go. However, I'm still seeing co...