Skip to content

Respond to Slack immediately #2

@ghost

Description

Looking for help on an issue I'm having while using this gem. Is there a natural way to respond to Slack immediately upon receiving an event with a 200 status? I've been having the issue that if any of the code in my commands takes too long to complete, Slack resends the event, causing our bot to occasionally post to a channel 2-3 times. It seems like currently a success status isn't returned to Slack until the self.call method reaches its end. This has also been a pain when debugging, as throwing a binding.pry in a command to troubleshoot something has the pry reopen every time Slack resends the event.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions