18F / dolores-landingham-slack-bot

A Slack bot to welcome new 18F hires with the authority and compassion of Mrs. Landingham
https://18f.gsa.gov/2015/12/15/how-bot-named-dolores-landingham-transformed-18fs-onboarding/
Other
189 stars 66 forks source link

Honor Slack API rate limit 'retry-after' #265

Open cromulus opened 6 years ago

cromulus commented 6 years ago

It seems that right now with sufficient number of slack users, we begin to hit Slack's API rate limit with both the broadcast message and user updater functions.

Perhaps we could use the retry-after response from slack to back off and retry when the api call is more likely to succeed?