noAckTimeoutId is not cleared when no handlers match the request #2284
Labels
bug
M-T: confirmed bug report. Issues are confirmed when the reproduction steps are documented
Milestone
noAckTimeoutId
is not cleared at https://github.com/slackapi/bolt-js/blob/main/src/receivers/AwsLambdaReceiver.ts#L262If no handler is listening to an incoming request from Slack. The library properly makes a 404 message. But it does not clear the timeout. Causing an open handle.
@slack/bolt
version4.0.0-rc.3
Your
App
and Receiver ConfigurationNode.js runtime version
v20.11.1
Steps to reproduce:
(Share the commands to run, source code, and project settings)
Expected result:
No timeouts are leaked outside the execution
Actual result:
Timeout being cleared.
Requirements
For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. 🙇
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.
The text was updated successfully, but these errors were encountered: