You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 1, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 1, 2022. It is now read-only.
Prevent the Chatbot to Send the same message multiple time #96
My thinking about this one is when heroku receives no request, it switch to idle mode! Now when the first user sends the request, it takes to time to warm up the app, and the the messenger api sends multiple hooks to heroku, which answers afterwards 😅
Heroku's Pricing model for Hobby project keeps web app in off state if It did not receive a request for too long. So, When you make a request, It basically takes time to get the app-server started and It's quite slow. So, I recommend you to use Azure, Its app service model is free and won't go to sleep like Heroku.
Reacted by Joan Awinja Ingari and Mohammed Aboullaite
Activity
aboullaite commentedon Aug 4, 2020
My thinking about this one is when heroku receives no request, it switch to idle mode! Now when the first user sends the request, it takes to time to warm up the app, and the the messenger api sends multiple hooks to heroku, which answers afterwards 😅
merrcury commentedon Aug 14, 2020
Heroku's Pricing model for Hobby project keeps web app in off state if It did not receive a request for too long. So, When you make a request, It basically takes time to get the app-server started and It's quite slow. So, I recommend you to use Azure, Its app service model is free and won't go to sleep like Heroku.
Awinja-j commentedon Oct 5, 2020
Thanks for the recommendation @merrcury