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
- Excessive usage of cloud functions is sl...
I have made almost all my requests through cloud functions and jwt , due to security fears of a user editing a field he is not supposed to . This unfortunately...
- 1.9.1 update
do you guys, have new update workflow? migration asking me to run browser..... on VPS.
- Using Binary Log with Appwrite
If I can remember correctly appwrite uses mariaDB as the underlying database. If so could I use mariaDB’s binary log to see database operations from appwrite?