My setup on JustRunMy.APP simply holds an open HTTP connection to my x10Hosting PHP script for as long as that script needs to finish processing external APIs. I have to do this because `ignore_user_abort` and `flush` are disabled on the hosting. Telegram already gets an instant response from...
The issue is now resolved. Just in case, I also added a system to limit requests to 5 simultaneous connections per URL on JustRunMy.APP, to avoid consuming all available processes and prevent this from happening again.
I use an intermediary service on JustRunMy.APP (a Node.js backend) between Telegram and my x10Hosting site. The flow is:
1. Telegram sends a webhook to JustRunMy.APP.
2. JustRunMy.APP replies 200 OK to Telegram instantly so users aren’t kept waiting.
3. JustRunMy.APP then opens a connection to...