I am attaching a code snippet here. Is it possible to run this on appwrite
Don't think so As your function will run inside an isolated open-runtime environment with no access to any Docker socket.
F
Ok so i have a question
If i run an appwrite function and save a file in the file system of the isolated run time given by appwrite. Once the function is over will that file be saved
Or once the function is over it's a fresh start
The file will be saved as long as the function run time is active. Once the function threshold is over - usually up to 61 minutes - them the container will get delete and that's include all the files you've created in the process.
To mitigate this issue it's recommand to create and use file using Appwrite storage module
thank you for your help. I found a solution
Recommended threads
- 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...
- Paused project can't activate
I have failed to reactivate one my projects which had been paused
- 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...