And for a long time, for example, is how much?
3-5 minutes? Seconds? Everyone has their own concept for a long time.
If you want to look at the response time of the server take the message that you VC in json format, send, and paste it in Postman for example, to request from him the address of the bot. So you can get an approximate response time of your script to the message. Well and further already optimization. Of course, if you have a hosting and not a VPS the speeds are not so hot.
P. S. two posts most likely because of timeout or error. You CallbackApi use?