While I was testing a function, one gave an error saying "Error Msg: Connection reset by peer", it only happened once and it didn't happen again, I wonder what is that error?
Maybe unstable internet?
Also, is this related to your issue? https://discord.com/channels/564160730845151244/1086623492562239578
thanks for the response, it is related, I still have a doubt, the maintenance task that appwrite has to save resources, runs every half hour and discards the functions that continue to be processed, did I understand correctly?
The thing is that my function takes a little time, between 1 to 3 minutes, is there anyway i can I prevent the maintenance task from throwing away my function every half hour, or at least increase the time of the maintenance in this way it will not throw my functions so frecuently?
See the _APP_FUNCTIONS_INACTIVE_THRESHOLD environment variable: https://appwrite.io/docs/environment-variables#functions. You would probably have to increase this to however long your function takes to execute.
Hi @iamdinesh - do you need more help with this?
Recommended threads
- Unable to create Sites or Functions with...
Heya, I was looking at the appwrite documentation for Sites API with the server api: https://appwrite.io/docs/references/cloud/server-nodejs/sites I can’t fin...
- Triggers and call function in function p...
Hello, Today we are experiencing several issues with Appwrite Cloud. Functions triggered by events, or functions called from another function, are taking an e...
- Functions executed by events does not ap...
Hello, Running self-hosted Appwrite version 1.9.0 (with console 7.8.26). When functions are triggered by an event (eg. databases.\*tables.\*.rows.\*.create) doe...