dropbox / securitybot

Distributed alerting for the masses!
Apache License 2.0
994 stars 112 forks source link

Re-try API requests if Slack API rate limit has been reached. #31

Closed skiptomyliu closed 6 years ago

skiptomyliu commented 6 years ago

It's easy to hit ratelimits with large orgs, especially when paginating users. This addition will retry requests every 10s for 1 minute.

skiptomyliu commented 6 years ago

Sorry, may have jumped gun -- cursor is not being set properly. Will reopen later.