Skip to content
This repository was archived by the owner on Apr 1, 2022. It is now read-only.
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

Open

Description

@elinguiuriel

Describe the bug

In some occasion, the Chatbot send the same message multiple time
Someone have a solution for this misbehavior, cause unknown, maybe :

To Reproduce

it happen random when heroku is asleep (try here : https://m.me/OpenSourceChatbot

Expected behavior

The same message should not be send multiple time

Screenshots

image

Activity

  1. aboullaite commented on Aug 4, 2020

    @aboullaite
    Contributor

    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 😅

  2. merrcury commented on Aug 14, 2020

    @merrcury

    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.

  3. Awinja-j commented on Oct 5, 2020

    @Awinja-j
    Contributor

    Thanks for the recommendation @merrcury

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions