Wednesday, 29 July 2020

Best practices to limit timeouts when working with Slack API

Hi folks - I'm experiencing a ton of timeouts when working with the Slack API on my node server (currently I'm using serverless Google Cloud Functions). I'm wondering if there are any best practices I'm not using that are causing this slow downThe Slack API has a 3 second threshold before it assumes timeout or expires certain tokens. My functions aren't running that quickly. Specifically in my case, when a user uses a slack slash command, I want to send back a modal for them to fill out. However, the trigger_id that I need to send back with the modal is expiring before I can send itAny tips for a new user of both serverless and the Slack API? I posted more about it on StackOverflow as well

Submitted July 28, 2020 at 08:53PM by chums923

No comments:

Post a Comment