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
- HTTP POST to function returning "No Appw...
Hi everyone, I’m running into an issue with my self-hosted Appwrite instance. I’ve set up my environment variables (APPWRITE_FUNCTION_PROJECT_ID, APPWRITE_FUNC...
- Can't add dart 3.5 runtime
Modified the `.env` to enable dart 3.5 runtime on my self-hosted instance but still can't find the runtime when creating a new function. I manually pulled the i...
- How to verify an user using AppWrite Fun...
I have seen similar questions but none whose solutions serve me. I have a function to verify a user with their secret and their id: https://blahblah.appwrite.gl...