Hey all, thank you for all the work on this python client. It definitely makes scripting a slackbot really easy.
I have an occasional issue where my slack bolt app receives an event after the 3 second timeout causing the app to receive the same event multiple times. This occurs as well for basic things such as someone asking my app to post a slack message with a basic help message (IE quite truly just replying back with some basic strings). I can confirm this timing by enabling debugging logging.
How do I go about acknowledging an event once and ignoring the retries in the event this happens?
Some additional context;
- I'm running slack bolt in socket mode
- I'm handling only message events, e.g.
@app.event('message')
Reproducible in:
$ pip freeze | grep slack && python --version
slack-bolt==1.16.1
slack-sdk==3.19.5
Python 3.10.6
The slack_bolt version
slack-bolt==1.16.1
Python runtime version
Python 3.10.6
OS info
Fedora 35
Hey all, thank you for all the work on this python client. It definitely makes scripting a slackbot really easy.
I have an occasional issue where my slack bolt app receives an event after the 3 second timeout causing the app to receive the same event multiple times. This occurs as well for basic things such as someone asking my app to post a slack message with a basic help message (IE quite truly just replying back with some basic strings). I can confirm this timing by enabling debugging logging.
How do I go about acknowledging an event once and ignoring the retries in the event this happens?
Some additional context;
@app.event('message')Reproducible in:
The
slack_boltversionslack-bolt==1.16.1Python runtime version
Python 3.10.6OS info
Fedora 35